diff options
author | jsing <> | 2014-06-10 11:32:38 +0000 |
---|---|---|
committer | jsing <> | 2014-06-10 11:32:38 +0000 |
commit | d4b2cc6d6b91fce1c1cd2743e4a702d429fae542 (patch) | |
tree | 976a84f1ebdaa213f667ac6bcf5f1684f93e0285 /src/lib/libcrypto/engine/eng_init.c | |
parent | 27401a154671ed8905576e4c6e0a9da73f2ac294 (diff) | |
download | openbsd-d4b2cc6d6b91fce1c1cd2743e4a702d429fae542.tar.gz openbsd-d4b2cc6d6b91fce1c1cd2743e4a702d429fae542.tar.bz2 openbsd-d4b2cc6d6b91fce1c1cd2743e4a702d429fae542.zip |
Multiple fixes for ssl3_digest_cached_records() - if EVP_MD_CTX_create()
fails, the NULL check will add an error but it does not abort. This will
result in EVP_DigestInit_ex() being called with a NULL context.
Also ensure that we check the return values from EVP_DigestInit_ex() and
EVP_DigestUpdate().
ok deraadt@ miod@
Diffstat (limited to 'src/lib/libcrypto/engine/eng_init.c')
0 files changed, 0 insertions, 0 deletions