Fix the check of EVP_PKEY_decrypt_init
authorPeiwei Hu <jlu.hpw@foxmail.com>
Fri, 2 Dec 2022 08:33:02 +0000 (16:33 +0800)
committerTomas Mraz <tomas@openssl.org>
Mon, 5 Dec 2022 12:04:18 +0000 (13:04 +0100)
commitb794476df71441a6d30740ab9fadcc0f6d18d3d6
treec5be0545c02de2e90ceed4bcc5b1bb96e546cc1a
parent4c3fadfe57b94f71fa83786726046b8833997c7c
Fix the check of EVP_PKEY_decrypt_init

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19819)
crypto/crmf/crmf_lib.c
test/evp_extra_test.c