From 959b471496eaf0b6bfc9eec2f92c62ddea540803 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 10:50:26 +0000 Subject: Remove X509_TRUST from the public API With API and other users internal, this struct can now go. ok jsing --- src/lib/libcrypto/x509/x509_trs.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/x509/x509_trs.c') 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 @@ -/* $OpenBSD: x509_trs.c,v 1.41 2024/03/02 10:48:17 tb Exp $ */ +/* $OpenBSD: x509_trs.c,v 1.42 2024/03/02 10:50:26 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -67,6 +67,15 @@ #include "crypto_internal.h" #include "x509_local.h" +typedef struct x509_trust_st { + int trust; + int flags; + int (*check_trust)(struct x509_trust_st *, X509 *, int); + char *name; + int arg1; + void *arg2; +} X509_TRUST; + static int obj_trust(int id, X509 *x, int flags) { -- cgit v1.2.3-55-g6feb