Add Error state
authorMatt Caswell <matt@openssl.org>
Thu, 23 Apr 2015 19:01:33 +0000 (20:01 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 5 May 2015 18:50:12 +0000 (19:50 +0100)
commite4f77bf1833245d2b6aa4ce6a16c85e1cdf78589
tree0994ad2089952e28ae9254f6cc8a9088e514fa02
parentcd5f206c2fb0d44ab55aec4ddab4a0109c134355
Add Error state

Reusing an SSL object when it has encountered a fatal error can
have bad consequences. This is a bug in application code not libssl
but libssl should be more forgiving and not crash.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit a89db885e0d8aac3a9df1bbccb0c1ddfd8b2e10a)

Conflicts:
ssl/s3_srvr.c
ssl/ssl_stat.c
ssl/s3_srvr.c
ssl/ssl.h
ssl/ssl_stat.c