From c42edd4c666ac7c3fb91cc79e1ea50486f509a74 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 19 Mar 2025 11:19:17 +0000 Subject: Adjust x509_name_regress to the X509_NAME_print() fix in a_strex.c r1.38 --- src/regress/lib/libcrypto/x509/x509_name_test.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/regress/lib/libcrypto/x509/x509_name_test.c b/src/regress/lib/libcrypto/x509/x509_name_test.c index 75a82fecd6..eaf7076d74 100644 --- a/src/regress/lib/libcrypto/x509/x509_name_test.c +++ b/src/regress/lib/libcrypto/x509/x509_name_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_name_test.c,v 1.1 2025/03/15 06:37:49 tb Exp $ */ +/* $OpenBSD: x509_name_test.c,v 1.2 2025/03/19 11:19:17 tb Exp $ */ /* * Copyright (c) 2025 Theo Buehler @@ -22,8 +22,6 @@ #include -#define fixed 0 - static const struct x509_name_legacy { const char *compat; const char *oneline; @@ -35,13 +33,8 @@ static const struct x509_name_legacy { "C=HU, " "L=Budapest, " "O=Microsec Ltd., " - "CN=Microsec e-Szigno Root CA 2009" -#if fixed - ", " + "CN=Microsec e-Szigno Root CA 2009, " "emailAddress=info@e-szigno.hu", -#else - "", -#endif .oneline = "/C=HU" "/L=Budapest" @@ -72,9 +65,7 @@ static const struct x509_name_legacy { { .compat = -#if fixed "serialNumber=G63287510, " -#endif "C=ES, " "O=ANF Autoridad de Certificacion, " "OU=ANF CA Raiz, " @@ -147,9 +138,7 @@ static const struct x509_name_legacy { "C=HU, " "L=Budapest, " "O=Microsec Ltd., " -#if fixed "2.5.4.97=VATHU-23584497, " -#endif "CN=e-Szigno Root CA 2017", .oneline = "/C=HU" @@ -183,9 +172,7 @@ static const struct x509_name_legacy { "C=ES, " "O=FNMT-RCM, " "OU=Ceres, " -#if fixed "2.5.4.97=VATES-Q2826004J, " -#endif "CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS", .oneline = "/C=ES" -- cgit v1.2.3-55-g6feb