diff options
author | Vladimirs Ambrosovs <rodriguez.twister@gmail.com> | 2024-03-12 18:23:55 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-03-14 08:49:32 +0100 |
commit | 544c31d530785e59482381952270ea4aa457c40d (patch) | |
tree | 6461e43b844a34a6a2a5811cea4132adc35c308b | |
parent | 161e4ff5477a34235e3a0b8b8dae10137f1e3f7c (diff) |
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)
(cherry picked from commit c91f0ca95881d03a54aedee197bbf5ffffc02935)
-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 6baf698f3a..2e855418dd 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -985,7 +985,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); } |