CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2014/12/14 17:46:53
Modified files: lib/libssl/src/ssl: d1_srvr.c s3_cbc.c s3_clnt.c s3_enc.c s3_srvr.c ssl_lib.c ssl_locl.h t1_enc.c Log message: 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@