Emilia Kasper 0923e7df9e Fix hostname validation in the command-line tool to honour negative return values.
Specifically, an ASN.1 NumericString in the certificate CN will fail UTF-8 conversion
and result in a negative return value, which the "x509 -checkhost" command-line option
incorrectly interpreted as success.

Also update X509_check_host docs to reflect reality.

Thanks to Sean Burford (Google) for reporting this issue.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-02-10 15:35:20 +01:00
..
2011-03-16 11:50:33 +00:00
2015-01-30 14:52:57 -05:00
2011-03-25 16:20:35 +00:00
2009-10-15 17:27:34 +00:00
2015-01-22 09:20:09 +00:00
2015-01-24 10:58:38 -05:00
2015-01-22 09:20:09 +00:00
2015-01-24 10:58:38 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:10 +00:00
2015-02-06 16:49:17 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2014-09-24 15:35:02 +02:00
2015-02-09 12:53:36 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2009-09-06 15:49:46 +00:00
2015-01-27 12:34:45 -05:00
2015-01-27 12:34:45 -05:00
2015-01-22 09:20:09 +00:00
2015-01-23 11:58:26 -05:00
2015-01-22 09:20:09 +00:00
2015-01-30 14:52:57 -05:00
2015-01-30 14:52:57 -05:00
2015-02-06 10:54:20 -05:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2009-09-07 17:57:18 +00:00
2015-02-06 10:54:20 -05:00