Emilia Kasper
95929797a0
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>
(cherry picked from commit 0923e7df9eafec6db9c75405d7085ec8581f01bd)
2015-02-10 15:36:03 +01:00
..
1998-12-21 10:52:47 +00:00
2011-03-16 11:26:40 +00:00
1998-12-21 10:52:47 +00:00
2008-04-17 10:19:16 +00:00
2015-01-22 09:31:38 +00:00
2015-02-10 15:36:03 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2000-10-16 22:56:10 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-01-22 09:31:48 +00:00
2011-03-25 16:21:08 +00:00
2006-04-28 00:30:49 +00:00
2009-10-15 17:27:47 +00:00
1998-12-21 10:56:39 +00:00
2015-01-22 09:31:38 +00:00
2011-12-08 14:45:15 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1999-01-09 17:29:34 +00:00
1999-01-09 17:29:34 +00:00
2015-01-22 09:31:38 +00:00
1998-12-21 10:56:39 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2011-03-19 09:47:47 +00:00
2014-06-14 16:58:11 +02:00
2013-12-01 23:09:44 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
1998-12-21 11:00:56 +00:00
2014-09-23 18:20:26 +02:00
2015-02-09 13:01:15 +00:00
2014-09-08 17:23:37 -04:00
2015-01-22 09:31:38 +00:00
2000-10-16 22:56:10 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2006-05-17 12:29:16 +00:00
2015-01-22 09:31:38 +00:00
2014-06-29 03:05:21 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
1998-12-21 10:56:39 +00:00
1998-12-21 10:52:47 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-27 14:30:25 +00:00
2015-01-27 14:30:25 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2011-12-08 14:45:15 +00:00
2011-12-08 14:45:15 +00:00
1998-12-21 10:56:39 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
1998-12-21 10:52:47 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2009-09-07 17:57:02 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00