Skip to content

Commit 782bdf5

Browse files
committed
Adjust x509_name_regress to the X509_NAME_print() fix in a_strex.c r1.38
1 parent 71d8240 commit 782bdf5

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

regress/lib/libcrypto/x509/x509_name_test.c

+2-15
Original file line numberDiff line numberDiff line change
@@ -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 $ */
22

33
/*
44
* Copyright (c) 2025 Theo Buehler <[email protected]>
@@ -22,8 +22,6 @@
2222

2323
#include <openssl/x509.h>
2424

25-
#define fixed 0
26-
2725
static const struct x509_name_legacy {
2826
const char *compat;
2927
const char *oneline;
@@ -35,13 +33,8 @@ static const struct x509_name_legacy {
3533
"C=HU, "
3634
"L=Budapest, "
3735
"O=Microsec Ltd., "
38-
"CN=Microsec e-Szigno Root CA 2009"
39-
#if fixed
40-
", "
36+
"CN=Microsec e-Szigno Root CA 2009, "
4137
42-
#else
43-
"",
44-
#endif
4538
.oneline =
4639
"/C=HU"
4740
"/L=Budapest"
@@ -72,9 +65,7 @@ static const struct x509_name_legacy {
7265

7366
{
7467
.compat =
75-
#if fixed
7668
"serialNumber=G63287510, "
77-
#endif
7869
"C=ES, "
7970
"O=ANF Autoridad de Certificacion, "
8071
"OU=ANF CA Raiz, "
@@ -147,9 +138,7 @@ static const struct x509_name_legacy {
147138
"C=HU, "
148139
"L=Budapest, "
149140
"O=Microsec Ltd., "
150-
#if fixed
151141
"2.5.4.97=VATHU-23584497, "
152-
#endif
153142
"CN=e-Szigno Root CA 2017",
154143
.oneline =
155144
"/C=HU"
@@ -183,9 +172,7 @@ static const struct x509_name_legacy {
183172
"C=ES, "
184173
"O=FNMT-RCM, "
185174
"OU=Ceres, "
186-
#if fixed
187175
"2.5.4.97=VATES-Q2826004J, "
188-
#endif
189176
"CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS",
190177
.oneline =
191178
"/C=ES"

0 commit comments

Comments
 (0)