]> git.ipfire.org Git - thirdparty/openvpn.git/commit
crypto: Make some casts to int explicit
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 8 Oct 2025 09:28:54 +0000 (11:28 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 8 Oct 2025 09:42:18 +0000 (11:42 +0200)
commite0b5ea5db92f450eba60ed5eab632ba2239b1e56
treef8224929fab05599198c35d99f8533553bfd3edb
parent373178b32dfa8f272cb9322b5f0092b03c3c61c2
crypto: Make some casts to int explicit

In all of these cases the cast is safe to do
since we have limits imposed in other ways.

And we want those values as int, so no
alternative to casting.

Change-Id: I3b8dd8d5671e31dba2a23a0a78f36d9dda034b88
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1217
Message-Id: <20251008092859.875-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243794/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto.c