diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-11 04:00:40 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-11 04:00:40 +0000 |
commit | 855cfdd02f6edced6ce938b8f90e92871cef8bb8 (patch) | |
tree | 34a6fc7633ad45998ffef32e73c1868368d30abd /lib/libcrypto/asn1/x_val.c | |
parent | aeaac866c83fd4383009cd21727c6c48c8865291 (diff) |
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.
Diffstat (limited to 'lib/libcrypto/asn1/x_val.c')
-rw-r--r-- | lib/libcrypto/asn1/x_val.c | 7 |
1 files changed, 1 insertions, 6 deletions
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", }; |