Empty SNI names are not valid
authorViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 16 Jan 2016 17:57:24 +0000 (12:57 -0500)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Sun, 17 Jan 2016 21:58:48 +0000 (16:58 -0500)
commit4d6fe78f65be650c84e14777c90e7a088f7a44ce
tree98653c989f953cfc468f666fe716178c5d0847d6
parent15debc128ac13420a4eec9b4a66d72f1dfd69126
Empty SNI names are not valid

While empty inputs to SSL_set1_host() clear the reference identifier
list.

(cherry-picked from 1.1.0-dev)

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/x509/x509_vpm.c
ssl/s3_lib.c