]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Extract check_session_cipher into standalone function
authorArne Schwabe <arne@rfc2549.org>
Fri, 29 Jul 2022 12:37:48 +0000 (14:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 1 Aug 2022 08:20:07 +0000 (10:20 +0200)
commitdd1837ca549e0494164fb4633d61a317529778b4
tree7244bd4efe573a77986aea31c03b9c4a15cdeae5
parent3fb5665ec5b70b665c0a8094de20042be0e392de
Extract check_session_cipher into standalone function

This allow the code later to check if the cipher is okay to use and
update it for the calculation for the max MTU size.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Patch v2: Name function check_session_cipher to better reflect its
          function
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220729123748.3267207-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24766.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.c
src/openvpn/ssl_ncp.c
src/openvpn/ssl_ncp.h