summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-02-24 18:01:31 +0000
committertb <>2021-02-24 18:01:31 +0000
commit851054bdc5a74d09ef9d5133842a93fed3fc408e (patch)
tree4a66f6906086c40dc60e3334d567e280f32c480a /src/lib
parent3055c9422506884a72601500fcfd923343060dee (diff)
downloadopenbsd-851054bdc5a74d09ef9d5133842a93fed3fc408e.tar.gz
openbsd-851054bdc5a74d09ef9d5133842a93fed3fc408e.tar.bz2
openbsd-851054bdc5a74d09ef9d5133842a93fed3fc408e.zip
Fix comment explaining last_untrusted. This should really be called
num_untrusted, but unfortunately it's public... ok jsing tobhe
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index a68d5c0840..57189b9d0f 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.31 2020/09/13 15:06:17 beck Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.32 2021/02/24 18:01:31 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -247,7 +247,7 @@ struct x509_store_ctx_st /* X509_STORE_CTX */
247 247
248 /* The following is built up */ 248 /* The following is built up */
249 int valid; /* if 0, rebuild chain */ 249 int valid; /* if 0, rebuild chain */
250 int last_untrusted; /* index of last untrusted cert */ 250 int last_untrusted; /* XXX: number of untrusted certs in chain!!! */
251 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */ 251 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */
252 X509_POLICY_TREE *tree; /* Valid policy tree */ 252 X509_POLICY_TREE *tree; /* Valid policy tree */
253 253