summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_prn.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509_prn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_prn.c b/src/lib/libcrypto/x509/x509_prn.c
index 3bf7c803e5..23c649a7b9 100644
--- a/src/lib/libcrypto/x509/x509_prn.c
+++ b/src/lib/libcrypto/x509/x509_prn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_prn.c,v 1.6 2023/05/08 05:30:38 tb Exp $ */ 1/* $OpenBSD: x509_prn.c,v 1.7 2025/06/02 12:18:22 jsg 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 1999. 3 * project 1999.
4 */ 4 */
@@ -87,8 +87,9 @@ X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, int ml)
87 for (i = 0; i < sk_CONF_VALUE_num(val); i++) { 87 for (i = 0; i < sk_CONF_VALUE_num(val); i++) {
88 if (ml) 88 if (ml)
89 BIO_printf(out, "%*s", indent, ""); 89 BIO_printf(out, "%*s", indent, "");
90 else if (i > 0) BIO_printf(out, ", "); 90 else if (i > 0)
91 nval = sk_CONF_VALUE_value(val, i); 91 BIO_printf(out, ", ");
92 nval = sk_CONF_VALUE_value(val, i);
92 if (!nval->name) 93 if (!nval->name)
93 BIO_puts(out, nval->value); 94 BIO_puts(out, nval->value);
94 else if (!nval->value) 95 else if (!nval->value)