summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-05-10 17:22:24 +0200
committerTomas Mraz <tomas@openssl.org>2022-05-13 08:30:48 +0200
commitf505be999f00232702aeb6918e4a1ffa0b9b588b (patch)
treefb37a5bf130bfc50bc5c655359be996d569944c4 /crypto/evp
parent92d050167713f9a094c149c38435b07512c68936 (diff)
Always try locale initialization from OPENSSL_strcasecmp
Fixes #18172 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')
-rw-r--r--crypto/evp/evp_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c
index c1793c95fd..89381f11c7 100644
--- a/crypto/evp/evp_lib.c
+++ b/crypto/evp/evp_lib.c
@@ -1196,8 +1196,6 @@ EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
va_start(args, type);
- OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL);
-
if (OPENSSL_strcasecmp(type, "RSA") == 0) {
bits = va_arg(args, size_t);
params[0] = OSSL_PARAM_construct_size_t(OSSL_PKEY_PARAM_RSA_BITS, &bits);