summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2020-11-19 01:40:24 +0100
committerDaniel Gustafsson <daniel@yesql.se>2020-11-19 01:40:24 +0100
commit3a8cdc82dcc14e1199d8833476314b535e80045e (patch)
treeede00a1a3c441657687f5a5eec091aeb9b675fae /.mailmap
parentee38a725b9890ef7a69863c275b929cc8983f0d9 (diff)
downloadcurl-3a8cdc82dcc14e1199d8833476314b535e80045e.tar.gz
openssl: guard against OOM on context creation
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions