Add back trust member of X509_TRUST that I accidentally deleted
authortb <tb@openbsd.org>
Mon, 25 Mar 2024 02:18:35 +0000 (02:18 +0000)
committertb <tb@openbsd.org>
Mon, 25 Mar 2024 02:18:35 +0000 (02:18 +0000)
lib/libcrypto/x509/x509_trs.c

index 0913406..3466268 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_trs.c,v 1.51 2024/03/25 01:48:50 tb Exp $ */
+/* $OpenBSD: x509_trs.c,v 1.52 2024/03/25 02:18:35 tb Exp $ */
 /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 1999.
  */
@@ -69,6 +69,7 @@
 #include "x509_local.h"
 
 typedef struct x509_trust_st {
+       int trust;
        int (*check_trust)(int, const X509 *);
        int nid;
 } X509_TRUST;