From 049efcbf6850b4b7cb7b66f303c7f35a88efa2ff Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 11 Feb 2015 04:00:39 +0000 Subject: Remove initialisers with default values from the ASN1 data structures. Minor changes in generated assembly due to the compiler swapping from .quad 0/.long 0 to .zero, along with changes due to line numbering. --- src/lib/libcrypto/asn1/x_nx509.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/asn1/x_nx509.c') diff --git a/src/lib/libcrypto/asn1/x_nx509.c b/src/lib/libcrypto/asn1/x_nx509.c index f36f1d9eca..7e18be8c79 100644 --- a/src/lib/libcrypto/asn1/x_nx509.c +++ b/src/lib/libcrypto/asn1/x_nx509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_nx509.c,v 1.5 2015/02/11 03:39:51 jsing Exp $ */ +/* $OpenBSD: x_nx509.c,v 1.6 2015/02/11 04:00:39 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2005. */ @@ -65,15 +65,12 @@ static const ASN1_TEMPLATE NETSCAPE_X509_seq_tt[] = { { - .flags = 0, - .tag = 0, .offset = offsetof(NETSCAPE_X509, header), .field_name = "header", .item = &ASN1_OCTET_STRING_it, }, { .flags = ASN1_TFLG_OPTIONAL, - .tag = 0, .offset = offsetof(NETSCAPE_X509, cert), .field_name = "cert", .item = &X509_it, @@ -85,7 +82,6 @@ const ASN1_ITEM NETSCAPE_X509_it = { .utype = V_ASN1_SEQUENCE, .templates = NETSCAPE_X509_seq_tt, .tcount = sizeof(NETSCAPE_X509_seq_tt) / sizeof(ASN1_TEMPLATE), - .funcs = NULL, .size = sizeof(NETSCAPE_X509), .sname = "NETSCAPE_X509", }; -- cgit v1.2.3-55-g6feb