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
..
2014-12-22 16:23:24 +01:00
2007-04-23 23:48:59 +00:00

 apps/openssl.pod .... Documentation of OpenSSL `openssl' command
 crypto/crypto.pod ... Documentation of OpenSSL crypto.h (libcrypto)
 ssl/ssl.pod ......... Documentation of OpenSSL ssl.h (libssl)
 standards.txt ....... Pointers to standards, RFCs or internet drafts
                       that are related to OpenSSL.  Incomplete.

 HTML versions are on https://www.openssl.org/docs