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.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index 118a449e82..6b7dc80bf3 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.27 2024/03/02 10:40:05 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.28 2024/03/02 10:41:46 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 */
@@ -422,15 +422,7 @@ struct ISSUING_DIST_POINT_st {
422#define X509_PURPOSE_DYNAMIC 0x1 422#define X509_PURPOSE_DYNAMIC 0x1
423#define X509_PURPOSE_DYNAMIC_NAME 0x2 423#define X509_PURPOSE_DYNAMIC_NAME 0x2
424 424
425typedef struct x509_purpose_st { 425typedef struct x509_purpose_st X509_PURPOSE;
426 int purpose;
427 int trust; /* Default trust ID */
428 int flags;
429 int (*check_purpose)(const struct x509_purpose_st *, const X509 *, int);
430 char *name;
431 char *sname;
432 void *usr_data;
433} X509_PURPOSE;
434 426
435#define X509_PURPOSE_SSL_CLIENT 1 427#define X509_PURPOSE_SSL_CLIENT 1
436#define X509_PURPOSE_SSL_SERVER 2 428#define X509_PURPOSE_SSL_SERVER 2