]> git.ipfire.org Git - thirdparty/openvpn.git/commit
crypto_epoch: Clean up type handling in ovpn_expand_label()
authorFrank Lichtenheld <frank@lichtenheld.com>
Sat, 4 Oct 2025 06:15:38 +0000 (08:15 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 4 Oct 2025 14:15:40 +0000 (16:15 +0200)
commitcb8155711a18e2c6b4e437ab224a9eb5961dfeda
tree15c9370a374d367d2898f6bc1f7a62fb9d57b685
parent290a14cd9edf95f07940f63993c290dc045c2a44
crypto_epoch: Clean up type handling in ovpn_expand_label()

- Add explicit casts where we have checked the value and
  need to put it into a smaller type.
- Adapt some types to actual usage.

Change-Id: Iad717f0ff3c79ae199c8be5f93bc51bf258c68c3
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: MaxF <max@max-fillinger.net>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1218
Message-Id: <20251004061545.7277-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59242119/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_epoch.c
src/openvpn/crypto_epoch.h