summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509v3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509v3.h')
-rw-r--r--src/lib/libcrypto/x509/x509v3.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index fda1e4af59..fa31279280 100644
--- a/src/lib/libcrypto/x509/x509v3.h
+++ b/src/lib/libcrypto/x509/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.39 2024/12/23 09:55:19 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.40 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 1999. 3 * project 1999.
4 */ 4 */
@@ -690,13 +690,6 @@ STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x);
690/* Disable checking the CN for a hostname, to support modern validation */ 690/* Disable checking the CN for a hostname, to support modern validation */
691#define X509_CHECK_FLAG_NEVER_CHECK_SUBJECT 0x20 691#define X509_CHECK_FLAG_NEVER_CHECK_SUBJECT 0x20
692 692
693/*
694 * Match reference identifiers starting with "." to any sub-domain.
695 * This is a non-public flag, turned on implicitly when the subject
696 * reference identity is a DNS name.
697 */
698#define _X509_CHECK_FLAG_DOT_SUBDOMAINS 0x8000
699
700int X509_check_host(X509 *x, const char *chk, size_t chklen, 693int X509_check_host(X509 *x, const char *chk, size_t chklen,
701 unsigned int flags, char **peername); 694 unsigned int flags, char **peername);
702int X509_check_email(X509 *x, const char *chk, size_t chklen, 695int X509_check_email(X509 *x, const char *chk, size_t chklen,