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_algor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/asn1/x_algor.c') diff --git a/src/lib/libcrypto/asn1/x_algor.c b/src/lib/libcrypto/asn1/x_algor.c index c10e114318..9fc1f7ff08 100644 --- a/src/lib/libcrypto/asn1/x_algor.c +++ b/src/lib/libcrypto/asn1/x_algor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_algor.c,v 1.19 2015/02/11 03:39:51 jsing Exp $ */ +/* $OpenBSD: x_algor.c,v 1.20 2015/02/11 04:00:39 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -63,15 +63,12 @@ static const ASN1_TEMPLATE X509_ALGOR_seq_tt[] = { { - .flags = 0, - .tag = 0, .offset = offsetof(X509_ALGOR, algorithm), .field_name = "algorithm", .item = &ASN1_OBJECT_it, }, { .flags = ASN1_TFLG_OPTIONAL, - .tag = 0, .offset = offsetof(X509_ALGOR, parameter), .field_name = "parameter", .item = &ASN1_ANY_it, @@ -83,7 +80,6 @@ const ASN1_ITEM X509_ALGOR_it = { .utype = V_ASN1_SEQUENCE, .templates = X509_ALGOR_seq_tt, .tcount = sizeof(X509_ALGOR_seq_tt) / sizeof(ASN1_TEMPLATE), - .funcs = NULL, .size = sizeof(X509_ALGOR), .sname = "X509_ALGOR", }; -- cgit v1.2.3-55-g6feb