summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_purp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_purp.c')
-rw-r--r--src/lib/libcrypto/x509/x509_purp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c
index 53f4f2f967..8f4e5934e1 100644
--- a/src/lib/libcrypto/x509/x509_purp.c
+++ b/src/lib/libcrypto/x509/x509_purp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_purp.c,v 1.39 2024/03/02 10:43:52 tb Exp $ */ 1/* $OpenBSD: x509_purp.c,v 1.40 2024/04/08 23:46:21 beck Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -559,9 +559,6 @@ x509v3_cache_extensions_internal(X509 *x)
559 if (!x509_extension_oids_are_unique(x)) 559 if (!x509_extension_oids_are_unique(x))
560 x->ex_flags |= EXFLAG_INVALID; 560 x->ex_flags |= EXFLAG_INVALID;
561 561
562 if (!x509_verify_cert_info_populate(x))
563 x->ex_flags |= EXFLAG_INVALID;
564
565 x->ex_flags |= EXFLAG_SET; 562 x->ex_flags |= EXFLAG_SET;
566} 563}
567 564