X509_free() the certificate if the server hostname check fails.
authorjca <jca@openbsd.org>
Mon, 19 May 2014 20:09:22 +0000 (20:09 +0000)
committerjca <jca@openbsd.org>
Mon, 19 May 2014 20:09:22 +0000 (20:09 +0000)
commit2c3086fbb521ca47de049cea87fe3bdf36cb3e1b
tree43e82153e7f76e7e8ed229b9b47b41f3e7679d20
parent4e47639e4919dab2aea075fc976f61eb76427993
X509_free() the certificate if the server hostname check fails.
No functional change.  Reported by Mike Small and Maxime Villard.
usr.bin/ftp/fetch.c