Don't acknowledge a servername following warning alert in servername cb
authorMatt Caswell <matt@openssl.org>
Mon, 2 Dec 2019 17:29:21 +0000 (17:29 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 30 Jan 2020 16:12:16 +0000 (16:12 +0000)
commita9a8863b791a54625da2a079a496a31cb7f94482
tree500813326d5f7c72c0b4849b20c513b804d44ced
parent721eb8f631882c9b1dbbdc8564f806bb177da4e3
Don't acknowledge a servername following warning alert in servername cb

If the servername cb decides to send back a warning alert then the
handshake continues, but we should not signal to the client that the
servername has been accepted.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/10018)

(cherry picked from commit cd624ccd41ac3ac779c1c7a7a1e63427ce9588dd)
ssl/statem/extensions.c