summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_internal.h')
-rw-r--r--src/lib/libcrypto/x509/x509_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h
index fe40351228..7160053a8a 100644
--- a/src/lib/libcrypto/x509/x509_internal.h
+++ b/src/lib/libcrypto/x509/x509_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_internal.h,v 1.7 2021/03/12 15:53:38 tb Exp $ */ 1/* $OpenBSD: x509_internal.h,v 1.8 2021/07/10 15:52:59 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -65,6 +65,9 @@ struct x509_verify_chain {
65struct x509_verify_ctx { 65struct x509_verify_ctx {
66 X509_STORE_CTX *xsc; 66 X509_STORE_CTX *xsc;
67 struct x509_verify_chain **chains; /* Validated chains */ 67 struct x509_verify_chain **chains; /* Validated chains */
68 STACK_OF(X509) *saved_error_chain;
69 int saved_error;
70 int saved_error_depth;
68 size_t chains_count; 71 size_t chains_count;
69 int dump_chain; /* Dump current chain without erroring */ 72 int dump_chain; /* Dump current chain without erroring */
70 STACK_OF(X509) *roots; /* Trusted roots for this validation */ 73 STACK_OF(X509) *roots; /* Trusted roots for this validation */