summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_trs.c
diff options
context:
space:
mode:
authortb <>2024-03-02 10:50:26 +0000
committertb <>2024-03-02 10:50:26 +0000
commit959b471496eaf0b6bfc9eec2f92c62ddea540803 (patch)
tree37285e188b6405e87777a764b16a39b7830706bb /src/lib/libcrypto/x509/x509_trs.c
parent09634739419a4aa9c4accd3a79896f8aac3b57d8 (diff)
downloadopenbsd-959b471496eaf0b6bfc9eec2f92c62ddea540803.tar.gz
openbsd-959b471496eaf0b6bfc9eec2f92c62ddea540803.tar.bz2
openbsd-959b471496eaf0b6bfc9eec2f92c62ddea540803.zip
Remove X509_TRUST from the public API
With API and other users internal, this struct can now go. ok jsing
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{