]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use functions to access key_state instead direct member access
authorArne Schwabe <arne@rfc2549.org>
Thu, 22 Apr 2021 15:17:19 +0000 (17:17 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 28 Apr 2021 13:03:03 +0000 (15:03 +0200)
commita80bec331ec65efbbec1adb7892e242589c238ef
tree22b13babb795ea50160947619c33f356c2fb4509
parent6a3cbb43a3d09dbf0b5df33c741455f34bde2440
Use functions to access key_state instead direct member access

This uses get_key_scan and get_primary key instead the directly
accessing the members of the struct to improve readability of
the code.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210422151724.2132573-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22200.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c
src/openvpn/push.c
src/openvpn/ssl.c
src/openvpn/ssl.h
src/openvpn/ssl_common.h