diff options
author | jsing <> | 2014-06-10 11:32:38 +0000 |
---|---|---|
committer | jsing <> | 2014-06-10 11:32:38 +0000 |
commit | 120092c80815c9fc85a2cdb032c540607898cfc5 (patch) | |
tree | 976a84f1ebdaa213f667ac6bcf5f1684f93e0285 /src/lib/libcrypto/evp/m_sha.c | |
parent | 09ba6d078e8d82c7c1639a2749f8e7b22a5b4b47 (diff) | |
download | openbsd-120092c80815c9fc85a2cdb032c540607898cfc5.tar.gz openbsd-120092c80815c9fc85a2cdb032c540607898cfc5.tar.bz2 openbsd-120092c80815c9fc85a2cdb032c540607898cfc5.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/evp/m_sha.c')
0 files changed, 0 insertions, 0 deletions