Move the stored namemap pre-population to namemap construction
authorRichard Levitte <levitte@openssl.org>
Wed, 15 Jan 2020 00:10:42 +0000 (01:10 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 16 Jan 2020 16:29:36 +0000 (17:29 +0100)
commit437ad983c6ca254cd1d4367fb1d68338c82e8ee3
tree7449810ea1ddc42974f6e8281fc0e0beec548709
parent9372ddf1a294d61dcbf507680e4e3d5b094ef71d
Move the stored namemap pre-population to namemap construction

Prepopulation of the stored namemap from the legacy method object
database happened on first EVP fetch.  However, there are moments when
that prepopulation needs to happen even though no fetching has been
performed yet.  We therefore move pre-population to happen when the
namemap is constructed.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10846)
crypto/core_namemap.c
crypto/evp/evp_fetch.c