summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1
diff options
context:
space:
mode:
authortb <>2025-02-20 20:30:12 +0000
committertb <>2025-02-20 20:30:12 +0000
commit622a7eaa6740f9747a004a390c6ae362ab4dd335 (patch)
tree196d8fb5705e0686ffc5a8c7b4c981e6cd0c3cfd /src/lib/libcrypto/asn1
parent4e12830c92f6c50364a4883d48e26e45714d85e2 (diff)
downloadopenbsd-622a7eaa6740f9747a004a390c6ae362ab4dd335.tar.gz
openbsd-622a7eaa6740f9747a004a390c6ae362ab4dd335.tar.bz2
openbsd-622a7eaa6740f9747a004a390c6ae362ab4dd335.zip
Remove unused valid member of x509_st
internal_verify() (now x509_vfy_internal_verify()) used to cache the validity of the signature of a cert in this field. This is no longer the case since x509_vfy.c 1.57 (2017).
Diffstat (limited to 'src/lib/libcrypto/asn1')
-rw-r--r--src/lib/libcrypto/asn1/x_x509.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c
index 4ea45fe29b..15af015af1 100644
--- a/src/lib/libcrypto/asn1/x_x509.c
+++ b/src/lib/libcrypto/asn1/x_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_x509.c,v 1.39 2024/07/08 14:48:49 beck Exp $ */ 1/* $OpenBSD: x_x509.c,v 1.40 2025/02/20 20:30:12 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 *
@@ -182,7 +182,6 @@ x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
182 switch (operation) { 182 switch (operation) {
183 183
184 case ASN1_OP_NEW_POST: 184 case ASN1_OP_NEW_POST:
185 ret->valid = 0;
186 ret->name = NULL; 185 ret->name = NULL;
187 ret->ex_flags = 0; 186 ret->ex_flags = 0;
188 ret->ex_pathlen = -1; 187 ret->ex_pathlen = -1;