diff options
author | 2014-06-10 11:26:34 +0000 | |
---|---|---|
committer | 2014-06-10 11:26:34 +0000 | |
commit | 2e189a1b864a04b3f70026230b7e3ad1d6f2feab (patch) | |
tree | 48e9e1fe84d1402fe570fbc08a8261d51145e775 /lib/libcrypto | |
parent | Rearrange the inequality. (diff) | |
download | wireguard-openbsd-2e189a1b864a04b3f70026230b7e3ad1d6f2feab.tar.xz wireguard-openbsd-2e189a1b864a04b3f70026230b7e3ad1d6f2feab.zip |
Ensure ssl3_final_finish_mac() returns failure if either the MD5 or SHA1
handshake MAC calculation fails. Currently, the result from both
ssl3_handshake_mac() calls is added together. This means that unless both
MD5 and SHA1 fail, a positive value will be returned to the caller,
indicating success rather than failure.
ok deraadt@ miod@ sthen@
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions