avoid crash if hostserv is with host part only
authorRoumen Petrov <openssl@roumenpetrov.info>
Sat, 6 Feb 2016 12:07:39 +0000 (14:07 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 8 Feb 2016 14:41:36 +0000 (15:41 +0100)
commit80926502986a97eed53afe1d85fc074e40829547
treed58e6603b6723bf49a8e9347179ae84fc44515e5
parent895ffe41c2c7ed11f2362cbc59ed7070a4f1fe10
avoid crash if hostserv is with host part only

(if priority is set to host)

Signed-off-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/b_addr.c