summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_trs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_trs.c')
-rw-r--r--src/lib/libcrypto/x509/x509_trs.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_trs.c b/src/lib/libcrypto/x509/x509_trs.c
index 774ce584b8..2f4cbba387 100644
--- a/src/lib/libcrypto/x509/x509_trs.c
+++ b/src/lib/libcrypto/x509/x509_trs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_trs.c,v 1.41 2024/03/02 10:48:17 tb Exp $ */ 1/* $OpenBSD: x509_trs.c,v 1.42 2024/03/02 10:50:26 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 */
@@ -67,6 +67,15 @@
67#include "crypto_internal.h" 67#include "crypto_internal.h"
68#include "x509_local.h" 68#include "x509_local.h"
69 69
70typedef struct x509_trust_st {
71 int trust;
72 int flags;
73 int (*check_trust)(struct x509_trust_st *, X509 *, int);
74 char *name;
75 int arg1;
76 void *arg2;
77} X509_TRUST;
78
70static int 79static int
71obj_trust(int id, X509 *x, int flags) 80obj_trust(int id, X509 *x, int flags)
72{ 81{