File tree 1 file changed +2
-15
lines changed
regress/lib/libcrypto/x509
1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 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
4
* Copyright (c) 2025 Theo Buehler <[email protected] >
22
22
23
23
#include <openssl/x509.h>
24
24
25
- #define fixed 0
26
-
27
25
static const struct x509_name_legacy {
28
26
const char * compat ;
29
27
const char * oneline ;
@@ -35,13 +33,8 @@ static const struct x509_name_legacy {
35
33
"C=HU, "
36
34
"L=Budapest, "
37
35
"O=Microsec Ltd., "
38
- "CN=Microsec e-Szigno Root CA 2009"
39
- #if fixed
40
- ", "
36
+ "CN=Microsec e-Szigno Root CA 2009, "
41
37
42
- #else
43
- "" ,
44
- #endif
45
38
.oneline =
46
39
"/C=HU"
47
40
"/L=Budapest"
@@ -72,9 +65,7 @@ static const struct x509_name_legacy {
72
65
73
66
{
74
67
.compat =
75
- #if fixed
76
68
"serialNumber=G63287510, "
77
- #endif
78
69
"C=ES, "
79
70
"O=ANF Autoridad de Certificacion, "
80
71
"OU=ANF CA Raiz, "
@@ -147,9 +138,7 @@ static const struct x509_name_legacy {
147
138
"C=HU, "
148
139
"L=Budapest, "
149
140
"O=Microsec Ltd., "
150
- #if fixed
151
141
"2.5.4.97=VATHU-23584497, "
152
- #endif
153
142
"CN=e-Szigno Root CA 2017" ,
154
143
.oneline =
155
144
"/C=HU"
@@ -183,9 +172,7 @@ static const struct x509_name_legacy {
183
172
"C=ES, "
184
173
"O=FNMT-RCM, "
185
174
"OU=Ceres, "
186
- #if fixed
187
175
"2.5.4.97=VATES-Q2826004J, "
188
- #endif
189
176
"CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS" ,
190
177
.oneline =
191
178
"/C=ES"
You can’t perform that action at this time.
0 commit comments