summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_check_host.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/X509_check_host.3')
-rw-r--r--src/lib/libcrypto/man/X509_check_host.314
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/X509_check_host.3 b/src/lib/libcrypto/man/X509_check_host.3
index 1e6a44ffe1..5990670acb 100644
--- a/src/lib/libcrypto/man/X509_check_host.3
+++ b/src/lib/libcrypto/man/X509_check_host.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_check_host.3,v 1.1 2016/12/05 15:56:46 schwarze Exp $ 1.\" $OpenBSD: X509_check_host.3,v 1.2 2016/12/05 16:38:24 jmc Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by Florian Weimer <fweimer@redhat.com> and 4.\" This file was written by Florian Weimer <fweimer@redhat.com> and
@@ -99,7 +99,7 @@ checks if the certificate Subject Alternative Name (SAN) or Subject
99CommonName (CN) matches the specified host name, which must be encoded 99CommonName (CN) matches the specified host name, which must be encoded
100in the preferred name syntax described in section 3.5 of RFC 1034. 100in the preferred name syntax described in section 3.5 of RFC 1034.
101By default, wildcards are supported and they match only in the 101By default, wildcards are supported and they match only in the
102left-most label; but they may match part of that label with an 102left-most label; they may match part of that label with an
103explicit prefix or suffix. 103explicit prefix or suffix.
104For example, by default, the host 104For example, by default, the host
105.Fa name 105.Fa name
@@ -124,7 +124,8 @@ When
124starts with a dot (e.g.\& 124starts with a dot (e.g.\&
125.Qq .example.com ) , 125.Qq .example.com ) ,
126it will be matched by a certificate valid for any sub-domain of 126it will be matched by a certificate valid for any sub-domain of
127.Fa name ; see also 127.Fa name ;
128see also
128.Fa X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS 129.Fa X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS
129below. 130below.
130.Pp 131.Pp
@@ -142,11 +143,12 @@ when it is no longer needed.
142.Fn X509_check_email 143.Fn X509_check_email
143checks if the certificate matches the specified email 144checks if the certificate matches the specified email
144.Fa address . 145.Fa address .
145Only the mailbox syntax of RFC 822 is supported, comments are not 146Only the mailbox syntax of RFC 822 is supported.
146allowed, and no attempt is made to normalize quoted characters. 147Comments are not allowed,
148and no attempt is made to normalize quoted characters.
147The 149The
148.Fa addresslen 150.Fa addresslen
149argument must be the number of characters in the address string or zero 151argument must be the number of characters in the address string or zero,
150in which case the length is calculated with 152in which case the length is calculated with
151.Fn strlen address . 153.Fn strlen address .
152.Pp 154.Pp