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, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c
index 0c92dfb19c..999ba639c5 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.29 2023/08/18 08:42:41 tb Exp $ */ 1/* $OpenBSD: x509_purp.c,v 1.30 2023/11/13 10:33:00 tb 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 */
@@ -711,7 +711,8 @@ x509v3_cache_extensions_internal(X509 *x)
711 if (!x509_extension_oids_are_unique(x)) 711 if (!x509_extension_oids_are_unique(x))
712 x->ex_flags |= EXFLAG_INVALID; 712 x->ex_flags |= EXFLAG_INVALID;
713 713
714 x509_verify_cert_info_populate(x); 714 if (!x509_verify_cert_info_populate(x))
715 x->ex_flags |= EXFLAG_INVALID;
715 716
716 x->ex_flags |= EXFLAG_SET; 717 x->ex_flags |= EXFLAG_SET;
717} 718}