mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
3a8cdc82dc
EVP_MD_CTX_create will allocate memory for the context and returns NULL in case the allocation fails. Make sure to catch any allocation failures and exit early if so. In passing, also move to EVP_DigestInit rather than EVP_DigestInit_ex as the latter is intended for ENGINE selection which we don't do. Closes #6224 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Emil Engler <me@emilengler.com> |
||
---|---|---|
.. | ||
bearssl.c | ||
bearssl.h | ||
gskit.c | ||
gskit.h | ||
gtls.c | ||
gtls.h | ||
keylog.c | ||
keylog.h | ||
mbedtls_threadlock.c | ||
mbedtls_threadlock.h | ||
mbedtls.c | ||
mbedtls.h | ||
mesalink.c | ||
mesalink.h | ||
nss.c | ||
nssg.h | ||
openssl.c | ||
openssl.h | ||
schannel_verify.c | ||
schannel.c | ||
schannel.h | ||
sectransp.c | ||
sectransp.h | ||
vtls.c | ||
vtls.h | ||
wolfssl.c | ||
wolfssl.h |