Make sure we always send an alert in libssl if we hit a fatal error
authorMatt Caswell <matt@openssl.org>
Mon, 13 Apr 2020 15:57:16 +0000 (16:57 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 15 Apr 2020 10:38:33 +0000 (11:38 +0100)
commit09b3654096ed344edd78cf156cb3ddcdbced6f9a
treee40ad74401d19a6004c97f71b1ff4dc51926e212
parente395ba223d45ead1bafe05bb8c4e19fdbc201bd0
Make sure we always send an alert in libssl if we hit a fatal error

We had a spot where a fatal error was occurring but we hadn't sent an
alert. This results in a later assertion failure.

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/11537)
ssl/statem/statem_srvr.c