openssl: Handle EdDSA keys from engines special again
Fixes: 052a939553 ("openssl: Add support for Ed25519 via AWS-LC")
This commit is contained in:
@@ -162,7 +162,7 @@ private_key_t *openssl_wrap_private_key(EVP_PKEY *key, bool engine)
|
|||||||
#ifndef OPENSSL_IS_AWSLC
|
#ifndef OPENSSL_IS_AWSLC
|
||||||
case EVP_PKEY_ED448:
|
case EVP_PKEY_ED448:
|
||||||
#endif
|
#endif
|
||||||
return openssl_ed_private_key_create(key, FALSE);
|
return openssl_ed_private_key_create(key, engine);
|
||||||
#endif /* OPENSSL_VERSION_NUMBER && !OPENSSL_NO_EC && !OPENSSL_IS_AWSLC */
|
#endif /* OPENSSL_VERSION_NUMBER && !OPENSSL_NO_EC && !OPENSSL_IS_AWSLC */
|
||||||
default:
|
default:
|
||||||
EVP_PKEY_free(key);
|
EVP_PKEY_free(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user