summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index 7e91155dc3..202cf7438f 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.62 2023/04/25 18:32:42 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.63 2023/04/28 16:50:16 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -226,7 +226,7 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
226#define X509_V_FLAG_X509_STRICT 0x20 226#define X509_V_FLAG_X509_STRICT 0x20
227/* Enable proxy certificate validation */ 227/* Enable proxy certificate validation */
228#define X509_V_FLAG_ALLOW_PROXY_CERTS 0x40 228#define X509_V_FLAG_ALLOW_PROXY_CERTS 0x40
229/* Enable policy checking */ 229/* Does nothing as its functionality has been enabled by default */
230#define X509_V_FLAG_POLICY_CHECK 0x80 230#define X509_V_FLAG_POLICY_CHECK 0x80
231/* Policy variable require-explicit-policy */ 231/* Policy variable require-explicit-policy */
232#define X509_V_FLAG_EXPLICIT_POLICY 0x100 232#define X509_V_FLAG_EXPLICIT_POLICY 0x100
@@ -264,7 +264,10 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
264#define X509_VP_FLAG_LOCKED 0x8 264#define X509_VP_FLAG_LOCKED 0x8
265#define X509_VP_FLAG_ONCE 0x10 265#define X509_VP_FLAG_ONCE 0x10
266 266
267/* Internal use: mask of policy related options */ 267/*
268 * Obsolete internal use: mask of policy related options.
269 * This should really go away.
270 */
268#define X509_V_FLAG_POLICY_MASK (X509_V_FLAG_POLICY_CHECK \ 271#define X509_V_FLAG_POLICY_MASK (X509_V_FLAG_POLICY_CHECK \
269 | X509_V_FLAG_EXPLICIT_POLICY \ 272 | X509_V_FLAG_EXPLICIT_POLICY \
270 | X509_V_FLAG_INHIBIT_ANY \ 273 | X509_V_FLAG_INHIBIT_ANY \