diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/nsseq.c')
-rw-r--r-- | src/lib/libcrypto/asn1/nsseq.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/asn1/nsseq.c b/src/lib/libcrypto/asn1/nsseq.c index dff9b189d9..8b39278692 100644 --- a/src/lib/libcrypto/asn1/nsseq.c +++ b/src/lib/libcrypto/asn1/nsseq.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: nsseq.c,v 1.9 2015/02/11 03:39:51 jsing Exp $ */ | 1 | /* $OpenBSD: nsseq.c,v 1.10 2015/02/11 04:00:39 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -76,24 +76,16 @@ nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) | |||
76 | /* Netscape certificate sequence structure */ | 76 | /* Netscape certificate sequence structure */ |
77 | 77 | ||
78 | static const ASN1_AUX NETSCAPE_CERT_SEQUENCE_aux = { | 78 | static const ASN1_AUX NETSCAPE_CERT_SEQUENCE_aux = { |
79 | .app_data = NULL, | ||
80 | .flags = 0, | ||
81 | .ref_offset = 0, | ||
82 | .ref_lock = 0, | ||
83 | .asn1_cb = nsseq_cb, | 79 | .asn1_cb = nsseq_cb, |
84 | .enc_offset = 0, | ||
85 | }; | 80 | }; |
86 | static const ASN1_TEMPLATE NETSCAPE_CERT_SEQUENCE_seq_tt[] = { | 81 | static const ASN1_TEMPLATE NETSCAPE_CERT_SEQUENCE_seq_tt[] = { |
87 | { | 82 | { |
88 | .flags = 0, | ||
89 | .tag = 0, | ||
90 | .offset = offsetof(NETSCAPE_CERT_SEQUENCE, type), | 83 | .offset = offsetof(NETSCAPE_CERT_SEQUENCE, type), |
91 | .field_name = "type", | 84 | .field_name = "type", |
92 | .item = &ASN1_OBJECT_it, | 85 | .item = &ASN1_OBJECT_it, |
93 | }, | 86 | }, |
94 | { | 87 | { |
95 | .flags = ASN1_TFLG_EXPLICIT | ASN1_TFLG_SEQUENCE_OF | ASN1_TFLG_OPTIONAL, | 88 | .flags = ASN1_TFLG_EXPLICIT | ASN1_TFLG_SEQUENCE_OF | ASN1_TFLG_OPTIONAL, |
96 | .tag = 0, | ||
97 | .offset = offsetof(NETSCAPE_CERT_SEQUENCE, certs), | 89 | .offset = offsetof(NETSCAPE_CERT_SEQUENCE, certs), |
98 | .field_name = "certs", | 90 | .field_name = "certs", |
99 | .item = &X509_it, | 91 | .item = &X509_it, |