diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2014-12-15 00:46:54 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2014-12-15 00:46:54 +0000 |
commit | 5c9d0afa7d6e5215346ba49f178d756cde65ea92 (patch) | |
tree | 77cbea1f4f73b6fa6b57123ad157ad77c4623f4f /usr.bin/cap_mkdb | |
parent | 127c15a20da82643aa0e6f048d4c631468f4ffc8 (diff) |
Add error handling for EVP_DigestInit_ex().
A few EVP_DigestInit_ex() calls were left alone since reporting an
error would change the public API.
Changed internal ssl3_cbc_digest_record() to return a value due to the above
change. It will also now set md_out_size=0 on failure.
This is based on part of BoringSSL's commit to fix malloc crashes:
https://boringssl.googlesource.com/boringssl/+/69a01608f33ab6fe2c3485d94aef1fe9eacf5364
ok miod@
Diffstat (limited to 'usr.bin/cap_mkdb')
0 files changed, 0 insertions, 0 deletions