diff options
author | Vladimirs Ambrosovs <rodriguez.twister@gmail.com> | 2024-03-12 17:23:55 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-03-14 08:49:01 +0100 |
commit | c91f0ca95881d03a54aedee197bbf5ffffc02935 (patch) | |
tree | 5edd99703f61eb4527a5e255efd684476951cc3f /engines | |
parent | Implement KAT for KBKDF with KMAC128 (diff) | |
download | openssl-c91f0ca95881d03a54aedee197bbf5ffffc02935.tar.xz openssl-c91f0ca95881d03a54aedee197bbf5ffffc02935.zip |
Fix dasync_rsa_decrypt to call EVP_PKEY_meth_get_decrypt
Signed-off-by: Vladimirs Ambrosovs <rodriguez.twister@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23825)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_dasync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_dasync.c b/engines/e_dasync.c index 63b13d3d45..4d92fef704 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -981,7 +981,7 @@ static int dasync_rsa_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t inlen); if (pdecrypt == NULL) - EVP_PKEY_meth_get_encrypt(dasync_rsa_orig, NULL, &pdecrypt); + EVP_PKEY_meth_get_decrypt(dasync_rsa_orig, NULL, &pdecrypt); return pdecrypt(ctx, out, outlen, in, inlen); } |