Fix the crash due to inconsistent enc_write_ctx
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 22 Dec 2016 11:23:28 +0000 (12:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 9 Feb 2017 13:16:53 +0000 (14:16 +0100)
commita4aea4433b796972754f63ffe741625aaf06d98a
tree8da9e4d022f663d2ce6f24b28601bf709f70d8b9
parentdbdb96617cce2bd4356d57f53ecc327d0e31f2ad
Fix the crash due to inconsistent enc_write_ctx
- add error handling in ssl3_generate_key_block and ssl3_change_cipher_state

Fixes #2114

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2137)
ssl/s3_enc.c