This is wild integer stuff, so I'm happy that Frank +2'ed it... ;-)

(This is more than "just integers", it's also cleaning up weird 
conditions... even with the signed "sec" before, "expire = now + sec"
would have achieved the same as the "start with 0" dance...)

A bit of (size_t) change that isn't strictly "sleep method" related
snuck in, but that is fine too.

We do need management interface tests...

Your patch has been applied to the master branch.

commit d0b779bd20b6c6da7510f24ecba66afa73bbbb40
Author: Frank Lichtenheld
Date:   Tue Nov 17 11:24:09 2026 +0100

     manage: Switch all sleep methods to unsigned

     Signed-off-by: Frank Lichtenheld <[email protected]>
     Acked-by: Razvan Cojocaru <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2200
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg41512.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to