Code change looks reasonable, BBs agree that nothing got broken, and MaxF ACKed it with actually understanding SSL stuff. In it goes :-)
One (unsigned int) cast remains, but that's needed because TLS_VER_BAD is actually "-1" - so "int ver" initially, and on no-error, cast to unsigned. URL references to sf.net + gerrit. Your patch has been applied to the master branch. commit dd20c79d9d5dc38370eb8c6d796a558a269705ba Author: Frank Lichtenheld Date: Thu Sep 11 22:16:52 2025 +0200 ssl_common: Make sure ssl flags are treated as unsigned Signed-off-by: Frank Lichtenheld <fr...@lichtenheld.com> Acked-by: MaxF <m...@max-fillinger.net> Message-Id: <20250911201658.25736-1-g...@greenie.muc.de> URL: https://sourceforge.net/p/openvpn/mailman/message/59232184/ URL: https://gerrit.openvpn.net/c/openvpn/+/1104 Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel