]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/evp/evp_fetch.c
Use the right NID when putting a method in the store
authorMatt Caswell <matt@openssl.org>
Wed, 20 Mar 2019 17:51:29 +0000 (17:51 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 9 Apr 2019 09:24:43 +0000 (10:24 +0100)
commitdc46e3dde58c781b5f29942d787a2c8765ba5514
treef259798851a90aa2b7f38c4efa69db285a8ec7b6
parent68ca1737ce58173001f2146b913388f872842f69
Use the right NID when putting a method in the store

When we attempt to fetch a method with a given NID we will ask the
providers for it if we don't already know about it. During that process
we may be told about other methods with a different NID. We need to
make sure we don't confuse the two.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8541)
crypto/core_fetch.c
crypto/evp/digest.c
crypto/evp/evp_fetch.c
crypto/evp/evp_locl.h
doc/internal/man3/evp_generic_fetch.pod
doc/internal/man3/ossl_method_construct.pod
include/internal/core.h