From 855cfdd02f6edced6ce938b8f90e92871cef8bb8 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Wed, 11 Feb 2015 04:00:40 +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. --- lib/libcrypto/asn1/x_val.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/libcrypto/asn1/x_val.c') diff --git a/lib/libcrypto/asn1/x_val.c b/lib/libcrypto/asn1/x_val.c index 3f1d830d3e4..eb2ba783bb1 100644 --- a/lib/libcrypto/asn1/x_val.c +++ b/lib/libcrypto/asn1/x_val.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_val.c,v 1.10 2015/02/11 03:39:51 jsing Exp $ */ +/* $OpenBSD: x_val.c,v 1.11 2015/02/11 04:00:39 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -63,15 +63,11 @@ static const ASN1_TEMPLATE X509_VAL_seq_tt[] = { { - .flags = 0, - .tag = 0, .offset = offsetof(X509_VAL, notBefore), .field_name = "notBefore", .item = &ASN1_TIME_it, }, { - .flags = 0, - .tag = 0, .offset = offsetof(X509_VAL, notAfter), .field_name = "notAfter", .item = &ASN1_TIME_it, @@ -83,7 +79,6 @@ const ASN1_ITEM X509_VAL_it = { .utype = V_ASN1_SEQUENCE, .templates = X509_VAL_seq_tt, .tcount = sizeof(X509_VAL_seq_tt) / sizeof(ASN1_TEMPLATE), - .funcs = NULL, .size = sizeof(X509_VAL), .sname = "X509_VAL", }; -- cgit v1.2.3