summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/x509/x509_cpols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_cpols.c b/src/lib/libcrypto/x509/x509_cpols.c
index 3f106c691d..af8f16c9b0 100644
--- a/src/lib/libcrypto/x509/x509_cpols.c
+++ b/src/lib/libcrypto/x509/x509_cpols.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_cpols.c,v 1.7 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: x509_cpols.c,v 1.8 2023/04/20 18:29:08 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 1999. 3 * project 1999.
4 */ 4 */
@@ -594,7 +594,7 @@ notice_section(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *unot, int ia5org)
594 cnf = sk_CONF_VALUE_value(unot, i); 594 cnf = sk_CONF_VALUE_value(unot, i);
595 if (!strcmp(cnf->name, "explicitText")) { 595 if (!strcmp(cnf->name, "explicitText")) {
596 if (not->exptext == NULL) { 596 if (not->exptext == NULL) {
597 not->exptext = ASN1_VISIBLESTRING_new(); 597 not->exptext = ASN1_UTF8STRING_new();
598 if (not->exptext == NULL) 598 if (not->exptext == NULL)
599 goto merr; 599 goto merr;
600 } 600 }