Add some sanity checks for the fatal error condition
authorMatt Caswell <matt@openssl.org>
Thu, 23 Nov 2017 12:10:54 +0000 (12:10 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 4 Dec 2017 13:31:48 +0000 (13:31 +0000)
commit47e2ee072290db534720565318f0a8110a2e7d92
treede0339da635ef1d0d1905b242ee4ed9fbe174183
parent635c8f771574fbf48281b2372a2f7aba0c673544
Add some sanity checks for the fatal error condition

Sometimes at the top level of the state machine code we know we are
supposed to be in a fatal error condition. This commit adds some sanity
checks to ensure that SSLfatal() has been called.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4778)
crypto/err/openssl.txt
include/openssl/sslerr.h
ssl/ssl_err.c
ssl/statem/statem.c