mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
6f22bcd631
The EVP_CIPHER api currently assumes that calls made into several APIs have already initalized the cipher in a given context via a call to EVP_CipherInit[_ex[2]]. If that hasnt been done, instead of an error, the result is typically a SIGSEGV. Correct that by adding missing NULL checks in the apropriate apis prior to using ctx->cipher Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22995) |
||
---|---|---|
.. | ||
build.info | ||
cms_asn1.c | ||
cms_att.c | ||
cms_cd.c | ||
cms_dd.c | ||
cms_dh.c | ||
cms_ec.c | ||
cms_enc.c | ||
cms_env.c | ||
cms_err.c | ||
cms_ess.c | ||
cms_io.c | ||
cms_kari.c | ||
cms_lib.c | ||
cms_local.h | ||
cms_pwri.c | ||
cms_rsa.c | ||
cms_sd.c | ||
cms_smime.c |