]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Translate OpenSSL 3.0 digest names to OpenSSL 1.1 digest names
authorArne Schwabe <arne@rfc2549.org>
Mon, 23 May 2022 10:35:45 +0000 (12:35 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 23 May 2022 13:47:32 +0000 (15:47 +0200)
commitb158125f67b49149ffd3e2617479fbd27860713c
tree52cab4c9c275cd8f2bad6558160c47fa964ad9a1
parent1294064e142d43b49df66296f8cd92de0698616d
Translate OpenSSL 3.0 digest names to OpenSSL 1.1 digest names

Since we used the OpenSSL <=1.1 names as part of our OCC message, they
are now unfortunately part of our wire protocol.

OpenSSL 3.0 will still accept the "old" names so we do not need to use
this translation table for forward lookup, only for returning the name
with md_kt_name()

Backport of master commit 88342ed8277c5797.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20220523103546.3425388-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24424.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c