]> git.ipfire.org Git - thirdparty/openvpn.git/commit
ssl_common: Make sure ssl flags are treated as unsigned
authorFrank Lichtenheld <frank@lichtenheld.com>
Thu, 11 Sep 2025 20:16:52 +0000 (22:16 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 14 Sep 2025 12:16:00 +0000 (14:16 +0200)
commitdd20c79d9d5dc38370eb8c6d796a558a269705ba
tree4d5159ab3987c2b2c4a9790672ec52d5e4f37a2e
parent864bb498ef7a15eb256cbe6013350e76ae96c32b
ssl_common: Make sure ssl flags are treated as unsigned

tls_options.ssl_flags is already unsigned, make sure the
flags are as well to avoid spurious conversion warnings.

Also fix various warning regarding the use of the flags
for TLS version handling.

Change-Id: I03e5ece7580ca4ebd41a7928ead544df46e8bad1
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: MaxF <max@max-fillinger.net>
Message-Id: <20250911201658.25736-1-gert@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 <gert@greenie.muc.de>
src/openvpn/options.c
src/openvpn/ssl_common.h