diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-05-10 15:40:58 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-05-13 08:30:41 +0200 |
commit | 615525bd4d6bbc56601fbdc82e7ac20344f48872 (patch) | |
tree | 911c7a7da5225e36172c4b1f36f8f934cd8f1b6e /crypto/evp/pmeth_lib.c | |
parent | 4b1b629725970384d6cf4dafe9e83e54859574cd (diff) | |
download | openssl-615525bd4d6bbc56601fbdc82e7ac20344f48872.tar.gz |
int_ctx_new(): Revert extra OPENSSL_init_crypto() call
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18282)
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 45ab0a35fc..e58787a5ea 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -23,7 +23,7 @@ #include <openssl/dh.h> #include <openssl/rsa.h> #include <openssl/kdf.h> -#include "crypto/cryptlib.h" +#include "internal/cryptlib.h" #ifndef FIPS_MODULE # include "crypto/asn1.h" #endif @@ -199,7 +199,6 @@ static EVP_PKEY_CTX *int_ctx_new(OSSL_LIB_CTX *libctx, } #ifndef FIPS_MODULE if (keytype != NULL) { - OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL); id = evp_pkey_name2type(keytype); if (id == NID_undef) id = -1; |