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 19:07:48 +0000 (20:07 +0100)
commit189e20c68c2399782034fec9f65d6b9ee88aac3d
treed1ca8e73d224109ed1e121b4d1937dabf28603ee
parent4b771121f2b657f50e8c7a27e9fab0bb043f91bc
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