diff options
author | jsing <> | 2014-06-10 14:46:11 +0000 |
---|---|---|
committer | jsing <> | 2014-06-10 14:46:11 +0000 |
commit | c9bf53b769d2bec4b62ca316d8e4dc83b401c5ca (patch) | |
tree | 3fcf6413d6fbf19e0db5edc02dec724b6db1f476 /src/lib/libcrypto | |
parent | eab708047a937230584142a2714d5293b2c20176 (diff) | |
download | openbsd-c9bf53b769d2bec4b62ca316d8e4dc83b401c5ca.tar.gz openbsd-c9bf53b769d2bec4b62ca316d8e4dc83b401c5ca.tar.bz2 openbsd-c9bf53b769d2bec4b62ca316d8e4dc83b401c5ca.zip |
In tls1_cert_verify_mac(), check the return value of EVP_MD_CTX_copy_ex()
to avoid a possible NULL function call on ctx.final(). None of the callers
currently check the return value of calls to cert_verify_mac(), however
the function already returns 0 in another case and the MAC comparison will
later fail.
Issue reported by David Ramos.
Diffstat (limited to 'src/lib/libcrypto')
0 files changed, 0 insertions, 0 deletions