]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Extend tls_pre_decrypt_lite to return type of packet and keep state
authorArne Schwabe <arne@rfc2549.org>
Fri, 22 Apr 2022 13:40:34 +0000 (15:40 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 25 Apr 2022 15:18:13 +0000 (17:18 +0200)
commitb67d670b2dedd9a4d39d927956b385903107f82b
treef5b16d895b580f6d3c689a2bc364223002a252ab
parent73713debf56c06ed54a378f9b3d1d742c5f1ed45
Extend tls_pre_decrypt_lite to return type of packet and keep state

This allows us to keep the temporary data for a little bit longer
so we can use this to make further checks and ultimatively use the
state to craft the HMAC based RESET reply.

For now we do not use the extra information and keep behaviour
identical.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220422134038.3801239-6-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24148.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mudp.c
src/openvpn/ssl.c
src/openvpn/ssl.h