]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Allow extracing other integers from peer info and add a unit test for it
authorArne Schwabe <arne@rfc2549.org>
Sat, 8 Aug 2026 15:49:28 +0000 (17:49 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 9 Aug 2026 06:39:23 +0000 (08:39 +0200)
commit06ced3fd84e4e28f2774c4156f8032a2bed736a2
tree9908b98f3136ddc06057149e7fce103d784fd6a1
parentfc2d2f2458df63b59e93052d26a112e4fb158049
Allow extracing other integers from peer info and add a unit test for it

This also ensure that we only really extract the variable we are looking
for. The old code would also consider UV_IV_NCP to be IV_NCP.

Change-Id: Iad94e7a9d0b3be8a8db09e9a20eaac6041470ab6
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1800
Message-Id: <20260808154933.17540-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg38241.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
CMakeLists.txt
src/openvpn/push.c
src/openvpn/ssl_ncp.c
src/openvpn/ssl_util.c
src/openvpn/ssl_util.h
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/test_push_update_msg.c
tests/unit_tests/openvpn/test_ssl.c