summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine
diff options
context:
space:
mode:
authorjsing <>2014-06-10 14:46:11 +0000
committerjsing <>2014-06-10 14:46:11 +0000
commitc9bf53b769d2bec4b62ca316d8e4dc83b401c5ca (patch)
tree3fcf6413d6fbf19e0db5edc02dec724b6db1f476 /src/lib/libcrypto/engine
parenteab708047a937230584142a2714d5293b2c20176 (diff)
downloadopenbsd-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/engine')
0 files changed, 0 insertions, 0 deletions