summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/x509/x509_name_test.c17
1 files 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 @@
1/* $OpenBSD: x509_name_test.c,v 1.1 2025/03/15 06:37:49 tb Exp $ */ 1/* $OpenBSD: x509_name_test.c,v 1.2 2025/03/19 11:19:17 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2025 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2025 Theo Buehler <tb@openbsd.org>
@@ -22,8 +22,6 @@
22 22
23#include <openssl/x509.h> 23#include <openssl/x509.h>
24 24
25#define fixed 0
26
27static const struct x509_name_legacy { 25static const struct x509_name_legacy {
28 const char *compat; 26 const char *compat;
29 const char *oneline; 27 const char *oneline;
@@ -35,13 +33,8 @@ static const struct x509_name_legacy {
35 "C=HU, " 33 "C=HU, "
36 "L=Budapest, " 34 "L=Budapest, "
37 "O=Microsec Ltd., " 35 "O=Microsec Ltd., "
38 "CN=Microsec e-Szigno Root CA 2009" 36 "CN=Microsec e-Szigno Root CA 2009, "
39#if fixed
40 ", "
41 "emailAddress=info@e-szigno.hu", 37 "emailAddress=info@e-szigno.hu",
42#else
43 "",
44#endif
45 .oneline = 38 .oneline =
46 "/C=HU" 39 "/C=HU"
47 "/L=Budapest" 40 "/L=Budapest"
@@ -72,9 +65,7 @@ static const struct x509_name_legacy {
72 65
73 { 66 {
74 .compat = 67 .compat =
75#if fixed
76 "serialNumber=G63287510, " 68 "serialNumber=G63287510, "
77#endif
78 "C=ES, " 69 "C=ES, "
79 "O=ANF Autoridad de Certificacion, " 70 "O=ANF Autoridad de Certificacion, "
80 "OU=ANF CA Raiz, " 71 "OU=ANF CA Raiz, "
@@ -147,9 +138,7 @@ static const struct x509_name_legacy {
147 "C=HU, " 138 "C=HU, "
148 "L=Budapest, " 139 "L=Budapest, "
149 "O=Microsec Ltd., " 140 "O=Microsec Ltd., "
150#if fixed
151 "2.5.4.97=VATHU-23584497, " 141 "2.5.4.97=VATHU-23584497, "
152#endif
153 "CN=e-Szigno Root CA 2017", 142 "CN=e-Szigno Root CA 2017",
154 .oneline = 143 .oneline =
155 "/C=HU" 144 "/C=HU"
@@ -183,9 +172,7 @@ static const struct x509_name_legacy {
183 "C=ES, " 172 "C=ES, "
184 "O=FNMT-RCM, " 173 "O=FNMT-RCM, "
185 "OU=Ceres, " 174 "OU=Ceres, "
186#if fixed
187 "2.5.4.97=VATES-Q2826004J, " 175 "2.5.4.97=VATES-Q2826004J, "
188#endif
189 "CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS", 176 "CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS",
190 .oneline = 177 .oneline =
191 "/C=ES" 178 "/C=ES"