If no SNI has been explicitly set use the one from the session
authorMatt Caswell <matt@openssl.org>
Fri, 21 Jul 2017 10:39:01 +0000 (11:39 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 31 Aug 2017 14:02:58 +0000 (15:02 +0100)
commitc5de99a2d90b0714eeda4943444e3a6bfbc525ad
tree9240ca43a05a53227617a75a90aba20867bd71a6
parent087175449922ddc3063e37f61e2c4330f3cf0468
If no SNI has been explicitly set use the one from the session

If we have not decided on an SNI value yet, but we are attempting to reuse
a session, and SNI is set in that, then we should use that value by
default.

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