]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/core_namemap.c
CORE: pre-populate the namemap with legacy OIDs too
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Mar 2021 04:40:50 +0000 (05:40 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 18 Apr 2021 08:10:24 +0000 (10:10 +0200)
commit05aed12f54de44df586d8912172b4ec05a8af855
tree69e146d1cc1cb3b786e51d623772b019d74c5f3a
parenta0fff549e6635000a545ac7d1e7a8102c1e614f1
CORE: pre-populate the namemap with legacy OIDs too

This also pre-populates the namemap with names derived from the
internal EVP_PKEY_ASN1_METHODs.  This requires attention, as they
contain aliases that we may want (RSA == rsaEncryption), as well as
aliases that we absolutely do not want (SM2 == EC).

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14498)
crypto/core_namemap.c