Handle a memory allocation failure in ssl3_init_finished_mac()
authorMatt Caswell <matt@openssl.org>
Fri, 3 Jun 2016 10:59:19 +0000 (11:59 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 3 Jun 2016 19:29:04 +0000 (20:29 +0100)
commit2c4a056f59a6819b8a0d40e3a7e11cf6d35b3e88
treec9d9275b21fc98c0f18f44729c1b0cbaf93c1a50
parentfa28bfd66fc221e18ee57134e42b54b4012e66db
Handle a memory allocation failure in ssl3_init_finished_mac()

The ssl3_init_finished_mac() function can fail, in which case we need to
propagate the error up through the stack.

RT#3198

Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/ssl.h
ssl/s3_enc.c
ssl/ssl_err.c
ssl/ssl_locl.h
ssl/statem/statem.c
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c