diff options
| author | tb <> | 2021-02-24 18:01:31 +0000 |
|---|---|---|
| committer | tb <> | 2021-02-24 18:01:31 +0000 |
| commit | 910a95795c037d1a190eb07c6d86f56bb9eab77f (patch) | |
| tree | 4a66f6906086c40dc60e3334d567e280f32c480a /src | |
| parent | 5822fc8cd3b2c5fe4583f96f1f227cebc9e07883 (diff) | |
| download | openbsd-910a95795c037d1a190eb07c6d86f56bb9eab77f.tar.gz openbsd-910a95795c037d1a190eb07c6d86f56bb9eab77f.tar.bz2 openbsd-910a95795c037d1a190eb07c6d86f56bb9eab77f.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')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 4 |
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 | ||
