summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-07-24 06:56:54 +0000
committertb <>2023-07-24 06:56:54 +0000
commit16ea0c76b649e30b6efab9849a469e34ec1929b8 (patch)
treef1b29d4fd2726b2aee25d987baa539ca83106739
parent8de67676e6e2721fae9e61f21c38380ce03d2aaf (diff)
downloadopenbsd-16ea0c76b649e30b6efab9849a469e34ec1929b8.tar.gz
openbsd-16ea0c76b649e30b6efab9849a469e34ec1929b8.tar.bz2
openbsd-16ea0c76b649e30b6efab9849a469e34ec1929b8.zip
Use C99 initializers for x509_name_ff
-rw-r--r--src/lib/libcrypto/asn1/x_name.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/asn1/x_name.c b/src/lib/libcrypto/asn1/x_name.c
index eb544596a2..dc9f217892 100644
--- a/src/lib/libcrypto/asn1/x_name.c
+++ b/src/lib/libcrypto/asn1/x_name.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_name.c,v 1.40 2023/07/07 19:37:52 beck Exp $ */ 1/* $OpenBSD: x_name.c,v 1.41 2023/07/24 06:56:54 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -189,13 +189,13 @@ const ASN1_ITEM X509_NAME_INTERNAL_it = {
189 */ 189 */
190 190
191const ASN1_EXTERN_FUNCS x509_name_ff = { 191const ASN1_EXTERN_FUNCS x509_name_ff = {
192 NULL, 192 .app_data = NULL,
193 x509_name_ex_new, 193 .asn1_ex_new = x509_name_ex_new,
194 x509_name_ex_free, 194 .asn1_ex_free = x509_name_ex_free,
195 0, /* Default clear behaviour is OK */ 195 .asn1_ex_clear = NULL,
196 x509_name_ex_d2i, 196 .asn1_ex_d2i = x509_name_ex_d2i,
197 x509_name_ex_i2d, 197 .asn1_ex_i2d = x509_name_ex_i2d,
198 x509_name_ex_print 198 .asn1_ex_print = x509_name_ex_print,
199}; 199};
200 200
201const ASN1_ITEM X509_NAME_it = { 201const ASN1_ITEM X509_NAME_it = {