diff options
author | jsing <> | 2014-06-10 14:46:11 +0000 |
---|---|---|
committer | jsing <> | 2014-06-10 14:46:11 +0000 |
commit | 80d2e651a1bd88a612cf68fb255201ef8f854c46 (patch) | |
tree | 3fcf6413d6fbf19e0db5edc02dec724b6db1f476 /src/lib/libssl/src/crypto/engine/engine.h | |
parent | ffd82070bf98c0a547b663e6bb65795c86d44d08 (diff) | |
download | openbsd-80d2e651a1bd88a612cf68fb255201ef8f854c46.tar.gz openbsd-80d2e651a1bd88a612cf68fb255201ef8f854c46.tar.bz2 openbsd-80d2e651a1bd88a612cf68fb255201ef8f854c46.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/libssl/src/crypto/engine/engine.h')
0 files changed, 0 insertions, 0 deletions