mirror of https://github.com/openssl/openssl
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 c91f0ca958
)
This commit is contained in:
parent
c85827b2cc
commit
9fafe34684
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue