summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/m_null.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-06-10 11:32:38 +0000
committerjsing <jsing@openbsd.org>2014-06-10 11:32:38 +0000
commit7e20f4f515b441b64c4c149b01ee94ea01fdc2cb (patch)
treedf39fd6a2c34650de1cdfbc65c6fd35f11df53f1 /lib/libcrypto/evp/m_null.c
parentEnsure ssl3_final_finish_mac() returns failure if either the MD5 or SHA1 (diff)
downloadwireguard-openbsd-7e20f4f515b441b64c4c149b01ee94ea01fdc2cb.tar.xz
wireguard-openbsd-7e20f4f515b441b64c4c149b01ee94ea01fdc2cb.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 'lib/libcrypto/evp/m_null.c')
0 files changed, 0 insertions, 0 deletions