diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_utl.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_utl.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c index 64dc1068b7..0acd8f1d41 100644 --- a/src/lib/libcrypto/x509/x509_utl.c +++ b/src/lib/libcrypto/x509/x509_utl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_utl.c,v 1.23 2024/12/23 09:05:27 schwarze Exp $ */ | 1 | /* $OpenBSD: x509_utl.c,v 1.24 2024/12/23 09:57:23 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -71,6 +71,13 @@ | |||
71 | 71 | ||
72 | #include "bytestring.h" | 72 | #include "bytestring.h" |
73 | 73 | ||
74 | /* | ||
75 | * Match reference identifiers starting with "." to any sub-domain. | ||
76 | * This is a non-public flag, turned on implicitly when the subject | ||
77 | * reference identity is a DNS name. | ||
78 | */ | ||
79 | #define _X509_CHECK_FLAG_DOT_SUBDOMAINS 0x8000 | ||
80 | |||
74 | static char *bn_to_string(const BIGNUM *bn); | 81 | static char *bn_to_string(const BIGNUM *bn); |
75 | static char *strip_spaces(char *name); | 82 | static char *strip_spaces(char *name); |
76 | static int sk_strcmp(const char * const *a, const char * const *b); | 83 | static int sk_strcmp(const char * const *a, const char * const *b); |