]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove key_type->hmac_length
authorArne Schwabe <arne@rfc2549.org>
Wed, 1 Dec 2021 18:07:24 +0000 (19:07 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 6 Dec 2021 09:20:00 +0000 (10:20 +0100)
commit459d9669d1b5ca110107306762625a4fb5650c58
treea4cab7b630b684f42153dbb6059930e43005bea0
parent9cc7fdcf851f87cb4fd5f9f249f790565f7b8e33
Remove key_type->hmac_length

This field is only set once with md_kt_size and then only read. Remove this
field and replace the read accesses with md_kt_size.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211201180727.2496903-6-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23274.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/auth_token.c
src/openvpn/crypto.c
src/openvpn/crypto.h
src/openvpn/crypto_backend.h
src/openvpn/crypto_mbedtls.c
src/openvpn/crypto_openssl.c
src/openvpn/init.c
src/openvpn/ntlm.c
src/openvpn/openvpn.h
src/openvpn/tls_crypt.c
tests/unit_tests/openvpn/test_crypto.c