Ensure we send an alert on error when processing a ticket
authorMatt Caswell <matt@openssl.org>
Fri, 3 Aug 2018 11:02:35 +0000 (12:02 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 6 Aug 2018 13:09:29 +0000 (14:09 +0100)
commit1cde025957a598934b838b1de26ae9090659d17f
tree8bd2d0b85a7c5be32474e1e92ae5d9cbe80dc80f
parentf38edcab594b4934bd9625ef889934b2dfb5d1f0
Ensure we send an alert on error when processing a ticket

In some scenarios the connection could fail without an alert being sent.
This causes a later assertion failure.

Thanks to Quarkslab for reporting this.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/6852)
ssl/statem/statem_clnt.c