xref: /freebsd/crypto/heimdal/lib/asn1/ChangeLog (revision c19800e8)
1c19800e8SDoug Rabson2008-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
2c19800e8SDoug Rabson
3c19800e8SDoug Rabson	* pkinit.asn1: add id-pkinit-kdf
4c19800e8SDoug Rabson
5c19800e8SDoug Rabson	* pkinit.asn1: add PkinitSP80056AOtherInfo
6c19800e8SDoug Rabson
7c19800e8SDoug Rabson2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
8c19800e8SDoug Rabson
9c19800e8SDoug Rabson	* gen.c: Use unsigned where appropriate.
10c19800e8SDoug Rabson
11c19800e8SDoug Rabson2008-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
12c19800e8SDoug Rabson
13c19800e8SDoug Rabson	* k5.asn1: Match name in ClientCanonicalizedNames with -10
14c19800e8SDoug Rabson
15c19800e8SDoug Rabson	* k5.asn1: add referral-valid-until
16c19800e8SDoug Rabson
17c19800e8SDoug Rabson2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
18c19800e8SDoug Rabson
19c19800e8SDoug Rabson	* asn1-common.h gen.c der.c gen_encode.c: add and use der_{malloc,free}
20c19800e8SDoug Rabson
21c19800e8SDoug Rabson2007-12-13  Love Hörnquist Åstrand  <lha@it.su.se>
22c19800e8SDoug Rabson
23c19800e8SDoug Rabson	* libasn1.h: remove, not used.
24c19800e8SDoug Rabson
25c19800e8SDoug Rabson2007-12-04  Love Hörnquist Åstrand  <lha@it.su.se>
26c19800e8SDoug Rabson
27c19800e8SDoug Rabson	* Makefile.am: Add DigestTypes, add --seq to antoher type.
28c19800e8SDoug Rabson
29c19800e8SDoug Rabson	* digest.asn1: Add supportedMechs request.
30c19800e8SDoug Rabson
31c19800e8SDoug Rabson2007-10-18  Love Hörnquist Åstrand  <lha@it.su.se>
32c19800e8SDoug Rabson
33c19800e8SDoug Rabson	* k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
34c19800e8SDoug Rabson
35c19800e8SDoug Rabson2007-07-23  Love Hörnquist Åstrand  <lha@it.su.se>
36c19800e8SDoug Rabson
37c19800e8SDoug Rabson	* Makefile.am: Fold in pk-init-alg-agilty.
38c19800e8SDoug Rabson
39c19800e8SDoug Rabson	* pkinit.asn1: Fold in pk-init-alg-agilty.
40c19800e8SDoug Rabson
41c19800e8SDoug Rabson2007-07-16  Love Hörnquist Åstrand  <lha@it.su.se>
42c19800e8SDoug Rabson
43c19800e8SDoug Rabson	* parse.y: Passe object id is its part of the module defintion
44c19800e8SDoug Rabson	statement.
45c19800e8SDoug Rabson
46c19800e8SDoug Rabson2007-07-14  Love Hörnquist Åstrand  <lha@it.su.se>
47c19800e8SDoug Rabson
48c19800e8SDoug Rabson	* check-gen.c: test SEQ OF SIZE (...)
49c19800e8SDoug Rabson
50c19800e8SDoug Rabson	* Makefile.am: Include more sizeof tests.
51c19800e8SDoug Rabson
52c19800e8SDoug Rabson2007-07-12  Love Hörnquist Åstrand  <lha@it.su.se>
53c19800e8SDoug Rabson
54c19800e8SDoug Rabson	* try to avoid aliasing of pointers enum {} vs int
55c19800e8SDoug Rabson
56c19800e8SDoug Rabson2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
57c19800e8SDoug Rabson
58c19800e8SDoug Rabson	* test.asn1: Test SIZE attribute for SEQ and OCTET STRING
59c19800e8SDoug Rabson
60c19800e8SDoug Rabson	* parse.y (OctetStringType): add SIZE to OCTET STRING.
61c19800e8SDoug Rabson
62c19800e8SDoug Rabson	* Makefile.am: New library version.
63c19800e8SDoug Rabson
64c19800e8SDoug Rabson2007-07-02  Love Hörnquist Åstrand  <lha@it.su.se>
65c19800e8SDoug Rabson
66c19800e8SDoug Rabson	* rfc2459.asn1: Re-add size limits.
67c19800e8SDoug Rabson
68c19800e8SDoug Rabson	* k5.asn1: Add size limits from RFC 4120.
69c19800e8SDoug Rabson
70c19800e8SDoug Rabson	* gen_decode.c: Check range on SEQ OF and OCTET STRING.
71c19800e8SDoug Rabson
72c19800e8SDoug Rabson	* asn1_err.et (min|max|exact) constraints.
73c19800e8SDoug Rabson
74c19800e8SDoug Rabson	* parse.y: Parse size limitations to SEQ OF.
75c19800e8SDoug Rabson
76c19800e8SDoug Rabson2007-06-28  Love Hörnquist Åstrand  <lha@it.su.se>
77c19800e8SDoug Rabson
78c19800e8SDoug Rabson	* Makefile.am: Add AuthorityInfoAccessSyntax.
79c19800e8SDoug Rabson
80c19800e8SDoug Rabson	* rfc2459.asn1: Add AuthorityInfoAccessSyntax.
81c19800e8SDoug Rabson
82c19800e8SDoug Rabson	* rfc2459.asn1: Add authorityInfoAccess, rename proxyCertInfo.
83c19800e8SDoug Rabson
84c19800e8SDoug Rabson	* Makefile.am: Add authorityInfoAccess, rename proxyCertInfo.
85c19800e8SDoug Rabson
86c19800e8SDoug Rabson2007-06-27  Love Hörnquist Åstrand  <lha@it.su.se>
87c19800e8SDoug Rabson
88c19800e8SDoug Rabson	* der_get.c (der_get_time): avoid using wrapping of octet_string
89c19800e8SDoug Rabson	and realloc.
90c19800e8SDoug Rabson
91c19800e8SDoug Rabson	* der_get.c: No need to undef timetm, we don't use it any more.
92c19800e8SDoug Rabson
93c19800e8SDoug Rabson	* timegm.c: Fix spelling caused by too much query-replace.
94c19800e8SDoug Rabson
95c19800e8SDoug Rabson	* gen.c: Include <limits.h> for UINT_MAX.
96c19800e8SDoug Rabson
97c19800e8SDoug Rabson	* gen_decode.c: Check for multipication overrun.
98c19800e8SDoug Rabson
99c19800e8SDoug Rabson	* gen_encode.c: Paranoia check in buffer overun in output
100c19800e8SDoug Rabson	function.
101c19800e8SDoug Rabson
102c19800e8SDoug Rabson	* check-der.c: Test boolean.
103c19800e8SDoug Rabson
104c19800e8SDoug Rabson	* check-der.c: test universal strings.
105c19800e8SDoug Rabson
106c19800e8SDoug Rabson	* check-der.c: Test failure cases for der_get_tag.
107c19800e8SDoug Rabson
108c19800e8SDoug Rabson	* check-der.c: test dates from last century.
109c19800e8SDoug Rabson
110c19800e8SDoug Rabson	* check-der.c: Move zero length integercheck to a better place.
111c19800e8SDoug Rabson
112c19800e8SDoug Rabson	* check-der.c: Test zero length integer.
113c19800e8SDoug Rabson
114c19800e8SDoug Rabson2007-06-18  Love Hörnquist Åstrand  <lha@it.su.se>
115c19800e8SDoug Rabson
116c19800e8SDoug Rabson	* check-der.c: Init data to something.
117c19800e8SDoug Rabson
118c19800e8SDoug Rabson2007-06-15  Love Hörnquist Åstrand  <lha@it.su.se>
119c19800e8SDoug Rabson
120c19800e8SDoug Rabson	* k5.asn1: Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
121c19800e8SDoug Rabson
122c19800e8SDoug Rabson2007-06-13  Love Hörnquist Åstrand  <lha@it.su.se>
123c19800e8SDoug Rabson
124c19800e8SDoug Rabson	* pkinit.asn1: Make the pkinit nonce signed (like the kerberos
125c19800e8SDoug Rabson	nonce).
126c19800e8SDoug Rabson
127c19800e8SDoug Rabson2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>
128c19800e8SDoug Rabson
129c19800e8SDoug Rabson	* check-der.c: Free more memory.
130c19800e8SDoug Rabson
131c19800e8SDoug Rabson	* der_format.c: Don't accect zero length hex numbers.
132c19800e8SDoug Rabson
133c19800e8SDoug Rabson	* check-der.c: Also free right memory.
134c19800e8SDoug Rabson
135c19800e8SDoug Rabson	* main.c: Close asn1 file when done.
136c19800e8SDoug Rabson
137c19800e8SDoug Rabson	* check-der.c: more check for der_parse_hex_heim_integer
138c19800e8SDoug Rabson
139c19800e8SDoug Rabson	* der_format.c (der_parse_hex_heim_integer): check length before
140c19800e8SDoug Rabson	reading data.
141c19800e8SDoug Rabson
142c19800e8SDoug Rabson	* check-gen.c (test_authenticator): free memory
143c19800e8SDoug Rabson
144c19800e8SDoug Rabson2007-05-31  Love Hörnquist Åstrand  <lha@it.su.se>
145c19800e8SDoug Rabson
146c19800e8SDoug Rabson	* Makefile.am: add MS-UPN-SAN
147c19800e8SDoug Rabson
148c19800e8SDoug Rabson	* pkinit.asn1: add MS-UPN-SAN
149c19800e8SDoug Rabson
150c19800e8SDoug Rabson	* rfc2459.asn1: Do evil things to handle IMPLICIT encoded
151c19800e8SDoug Rabson	structures.  Add id-ms-client-authentication.
152c19800e8SDoug Rabson
153c19800e8SDoug Rabson2007-05-30  Love Hörnquist Åstrand  <lha@it.su.se>
154c19800e8SDoug Rabson
155c19800e8SDoug Rabson	* Makefile.am: Add asn1_id_ms_cert_enroll_domaincontroller.x
156c19800e8SDoug Rabson
157c19800e8SDoug Rabson2007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
158c19800e8SDoug Rabson
159c19800e8SDoug Rabson	* gen.c: Add struct units; as a forward declaration. Pointed out
160c19800e8SDoug Rabson	by Marcus Watts.
161c19800e8SDoug Rabson
162c19800e8SDoug Rabson	* rfc2459.asn1: Netscape extentions
163c19800e8SDoug Rabson
164c19800e8SDoug Rabson	* Makefile.am: add U.S. Federal PKI Common Policy Framework
165c19800e8SDoug Rabson
166c19800e8SDoug Rabson	* rfc2459.asn1: add U.S. Federal PKI Common Policy Framework
167c19800e8SDoug Rabson
168c19800e8SDoug Rabson2007-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
169c19800e8SDoug Rabson
170c19800e8SDoug Rabson	* gen_seq.c: Handle the case of resize to 0 and realloc that
171c19800e8SDoug Rabson	returns NULL.
172c19800e8SDoug Rabson
173c19800e8SDoug Rabson	* check-gen.c (check_seq): free seq.
174c19800e8SDoug Rabson
175c19800e8SDoug Rabson2007-04-19  Love Hörnquist Åstrand  <lha@it.su.se>
176c19800e8SDoug Rabson
177c19800e8SDoug Rabson	* check-der.c (test_heim_oid_format_same): avoid leaking memory in
178c19800e8SDoug Rabson	the non failure case too
179c19800e8SDoug Rabson
180c19800e8SDoug Rabson2007-04-16  Love Hörnquist Åstrand  <lha@it.su.se>
181c19800e8SDoug Rabson
182c19800e8SDoug Rabson	* Makefile.am: remove extra ^Q
183c19800e8SDoug Rabson
184c19800e8SDoug Rabson2007-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
185c19800e8SDoug Rabson
186c19800e8SDoug Rabson	* der_get.c: Allow trailing NULs. We allow this since MIT Kerberos
187c19800e8SDoug Rabson	sends an strings in the NEED_PREAUTH case that includes a trailing
188c19800e8SDoug Rabson	NUL.
189c19800e8SDoug Rabson
190c19800e8SDoug Rabson2007-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
191c19800e8SDoug Rabson
192c19800e8SDoug Rabson
193c19800e8SDoug Rabson	* Makefile.am: Add PA-ClientCanonicalized and friends.
194c19800e8SDoug Rabson
195c19800e8SDoug Rabson	* k5.asn1: Add PA-ClientCanonicalized and friends.
196c19800e8SDoug Rabson
197c19800e8SDoug Rabson2007-02-08  Love Hörnquist Åstrand  <lha@it.su.se>
198c19800e8SDoug Rabson
199c19800e8SDoug Rabson	* check-der.c: Drop one over INT_MAX test-case.
200c19800e8SDoug Rabson
201c19800e8SDoug Rabson2007-02-05  Love Hörnquist Åstrand  <lha@it.su.se>
202c19800e8SDoug Rabson
203c19800e8SDoug Rabson	* pkinit.asn1: add id-pkinit-ms-eku
204c19800e8SDoug Rabson
205c19800e8SDoug Rabson	* pkinit.asn1: fill in more bits of id-pkinit-ms-san
206c19800e8SDoug Rabson
207c19800e8SDoug Rabson2007-02-02  Love Hörnquist Åstrand  <lha@it.su.se>
208c19800e8SDoug Rabson
209c19800e8SDoug Rabson	* digest.asn1: rename hash-a1 to session key
210c19800e8SDoug Rabson
211c19800e8SDoug Rabson2007-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
212c19800e8SDoug Rabson
213c19800e8SDoug Rabson	* digest.asn1: Add elements to send in requestResponse to KDC and
214c19800e8SDoug Rabson	get status of the request.
215c19800e8SDoug Rabson
216c19800e8SDoug Rabson2007-01-31  Love Hörnquist Åstrand  <lha@it.su.se>
217c19800e8SDoug Rabson
218c19800e8SDoug Rabson	* Makefile.am: seq rules for CRLDistributionPoints
219c19800e8SDoug Rabson
220c19800e8SDoug Rabson2007-01-30  Love Hörnquist Åstrand  <lha@it.su.se>
221c19800e8SDoug Rabson
222c19800e8SDoug Rabson	* Makefile.am: add CRLDistributionPoints and friends
223c19800e8SDoug Rabson
224c19800e8SDoug Rabson2007-01-20  Love Hörnquist Åstrand  <lha@it.su.se>
225c19800e8SDoug Rabson
226c19800e8SDoug Rabson	* check-der.c: check BMPstring oddlength more
227c19800e8SDoug Rabson
228c19800e8SDoug Rabson	* check-der.c: Test for NUL char in string in GENERAL STRING.
229c19800e8SDoug Rabson
230c19800e8SDoug Rabson	* der_get.c: Check for NUL characters in string and return
231c19800e8SDoug Rabson	ASN1_BAD_CHARACTER error-code if we find them.
232c19800e8SDoug Rabson
233c19800e8SDoug Rabson	* asn1_err.et: Add BAD_CHARACTER error.
234c19800e8SDoug Rabson
235c19800e8SDoug Rabson2007-01-16  Love Hörnquist Åstrand <lha@it.su.se>
236c19800e8SDoug Rabson
237c19800e8SDoug Rabson	* Makefile.am: Add id-at-streetAddress.
238c19800e8SDoug Rabson
239c19800e8SDoug Rabson	* rfc2459.asn1: Add id-at-streetAddress.
240c19800e8SDoug Rabson
241c19800e8SDoug Rabson2007-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
242c19800e8SDoug Rabson
243c19800e8SDoug Rabson	* rfc2459.asn1: Add PKIXXmppAddr and id-pkix-on-xmppAddr.
244c19800e8SDoug Rabson
245c19800e8SDoug Rabson2006-12-30  Love Hörnquist Åstrand  <lha@it.su.se>
246c19800e8SDoug Rabson
247c19800e8SDoug Rabson	* Makefile.am: Add id-pkix-kp oids.
248c19800e8SDoug Rabson
249c19800e8SDoug Rabson	* rfc2459.asn1: Add id-pkix-kp oids.
250c19800e8SDoug Rabson
251c19800e8SDoug Rabson2006-12-29  Love Hörnquist Åstrand  <lha@it.su.se>
252c19800e8SDoug Rabson
253c19800e8SDoug Rabson	* gen_encode.c: Named bit strings have this horrible, disgusting,
254c19800e8SDoug Rabson	compress bits until they are no longer really there but stuff in
255c19800e8SDoug Rabson	an initial octet anyway encoding scheme. Try to get it right and
256c19800e8SDoug Rabson	calculate the initial octet runtime instead of compiletime.
257c19800e8SDoug Rabson
258c19800e8SDoug Rabson	* check-gen.c: Check all other silly bitstring combinations.
259c19800e8SDoug Rabson
260c19800e8SDoug Rabson	* Makefile.am: Add --sequence=Extensions to rfc2459.
261c19800e8SDoug Rabson
262c19800e8SDoug Rabson2006-12-28  Love Hörnquist Åstrand  <lha@it.su.se>
263c19800e8SDoug Rabson
264c19800e8SDoug Rabson	* kx509.asn1: Add kx509.
265c19800e8SDoug Rabson
266c19800e8SDoug Rabson	* Makefile.am: Add kx509.
267c19800e8SDoug Rabson
268c19800e8SDoug Rabson	* Add VisibleString parsing
269c19800e8SDoug Rabson
270c19800e8SDoug Rabson2006-12-15  Love Hörnquist Åstrand  <lha@it.su.se>
271c19800e8SDoug Rabson
272c19800e8SDoug Rabson	* Makefile.am: Add ntlm files.
273c19800e8SDoug Rabson
274c19800e8SDoug Rabson	* digest.asn1: Add bits for handling NTLM.
275c19800e8SDoug Rabson
276c19800e8SDoug Rabson2006-12-08  Love Hörnquist Åstrand  <lha@it.su.se>
277c19800e8SDoug Rabson
278c19800e8SDoug Rabson	* Makefile.am: add pkix proxy cert policy lang oids
279c19800e8SDoug Rabson
280c19800e8SDoug Rabson	* rfc2459.asn1: add pkix proxy cert policy lang oids
281c19800e8SDoug Rabson
282c19800e8SDoug Rabson2006-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
283c19800e8SDoug Rabson
284c19800e8SDoug Rabson	* rfc2459.asn1: unbreak id-pe-proxyCertInfo
285c19800e8SDoug Rabson
286c19800e8SDoug Rabson	* rfc2459.asn1: Add id-pkix-on-dnsSRV and related oids
287c19800e8SDoug Rabson
288c19800e8SDoug Rabson2006-11-28  Love Hörnquist Åstrand  <lha@it.su.se>
289c19800e8SDoug Rabson
290c19800e8SDoug Rabson	* Makefile.am: Add explicit depenency to LIB_roken for libasn1.la,
291c19800e8SDoug Rabson	make AIX happy.
292c19800e8SDoug Rabson
293c19800e8SDoug Rabson2006-11-27  Love Hörnquist Åstrand  <lha@it.su.se>
294c19800e8SDoug Rabson
295c19800e8SDoug Rabson	* der_format.c (der_print_heim_oid): oid with zero length is
296c19800e8SDoug Rabson	invalid, fail to print.
297c19800e8SDoug Rabson
298c19800e8SDoug Rabson2006-11-24  Love Hörnquist Åstrand  <lha@it.su.se>
299c19800e8SDoug Rabson
300c19800e8SDoug Rabson	* der_format.c (der_print_heim_oid): use delim when printing.
301c19800e8SDoug Rabson
302c19800e8SDoug Rabson2006-11-21  Love Hörnquist Åstrand  <lha@it.su.se>
303c19800e8SDoug Rabson
304c19800e8SDoug Rabson	* k5.asn1: Make KRB5-PADATA-S4U2SELF pa type 129.
305c19800e8SDoug Rabson
306c19800e8SDoug Rabson2006-10-24  Love Hörnquist Åstrand  <lha@it.su.se>
307c19800e8SDoug Rabson
308c19800e8SDoug Rabson	* asn1_err.et: add EXTRA_DATA
309c19800e8SDoug Rabson
310c19800e8SDoug Rabson2006-10-21  Love Hörnquist Åstrand  <lha@it.su.se>
311c19800e8SDoug Rabson
312c19800e8SDoug Rabson	* check-gen.c: avoid leaking memory
313c19800e8SDoug Rabson
314c19800e8SDoug Rabson	* check-der.c: avoid leaking memory
315c19800e8SDoug Rabson
316c19800e8SDoug Rabson	* der_format.c (der_parse_heim_oid): avoid leaking memory
317c19800e8SDoug Rabson
318c19800e8SDoug Rabson	* check-common.c: Print size_t as (unsigned long) and cast.
319c19800e8SDoug Rabson
320c19800e8SDoug Rabson	* check-common.c: Try to align data, IA64's gets upset if its
321c19800e8SDoug Rabson	unaligned.
322c19800e8SDoug Rabson
323c19800e8SDoug Rabson	* lex.l: add missing */
324c19800e8SDoug Rabson
325c19800e8SDoug Rabson	* lex.c: need %e for hpux lex
326c19800e8SDoug Rabson
327c19800e8SDoug Rabson2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
328c19800e8SDoug Rabson
329c19800e8SDoug Rabson	* Makefile.am: remove dups from gen_files_test, add check-timegm.
330c19800e8SDoug Rabson
331c19800e8SDoug Rabson	* Makefile.am: include more test.asn1 built files
332c19800e8SDoug Rabson
333c19800e8SDoug Rabson	* Makefile.am: More files, now for make check.
334c19800e8SDoug Rabson
335c19800e8SDoug Rabson2006-10-19  Love Hörnquist Åstrand  <lha@it.su.se>
336c19800e8SDoug Rabson
337c19800e8SDoug Rabson	* Makefile.am: Add missing files
338c19800e8SDoug Rabson
339c19800e8SDoug Rabson	* Makefile.am (asn1_compile_SOURCES): add gen_locl.h
340c19800e8SDoug Rabson
341c19800e8SDoug Rabson	* check-timegm.c: Add check for _der_timegm.
342c19800e8SDoug Rabson
343c19800e8SDoug Rabson	* der_get.c (generalizedtime2time): always use _der_timegm.
344c19800e8SDoug Rabson
345c19800e8SDoug Rabson	* timegm.c: make more strict
346c19800e8SDoug Rabson
347c19800e8SDoug Rabson	* der_locl.h: Rename timegm to _der_timegm.
348c19800e8SDoug Rabson
349c19800e8SDoug Rabson2006-10-17  Love Hörnquist Åstrand  <lha@it.su.se>
350c19800e8SDoug Rabson
351c19800e8SDoug Rabson	* timegm.c: vJust fail if tm_mon is out of range for now XXXX this
352c19800e8SDoug Rabson	is wrong.
353c19800e8SDoug Rabson
354c19800e8SDoug Rabson2006-10-16  Love Hörnquist Åstrand  <lha@it.su.se>
355c19800e8SDoug Rabson
356c19800e8SDoug Rabson	* Makefile.am: extra depencies on der-protos.h
357c19800e8SDoug Rabson
358c19800e8SDoug Rabson2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
359c19800e8SDoug Rabson
360c19800e8SDoug Rabson	* check-der.c: Prefix primitive types with der_.
361c19800e8SDoug Rabson
362c19800e8SDoug Rabson	* timegm.c: rename the buildin timegm to _der_timegm
363c19800e8SDoug Rabson
364c19800e8SDoug Rabson	* heim_asn1.h: move prototype away from here.
365c19800e8SDoug Rabson
366c19800e8SDoug Rabson	* der_format.c: Add der_parse_heim_oid
367c19800e8SDoug Rabson
368c19800e8SDoug Rabson	* gen_free.c: prefix primitive types with der_
369c19800e8SDoug Rabson
370c19800e8SDoug Rabson	* der_copy.c: prefix primitive types with der_
371c19800e8SDoug Rabson
372c19800e8SDoug Rabson	* gen_length.c: prefix primitive types with der_
373c19800e8SDoug Rabson
374c19800e8SDoug Rabson	* der_length.c: prefix primitive types with der_
375c19800e8SDoug Rabson
376c19800e8SDoug Rabson	* der_cmp.c: prefix primitive types with der_
377c19800e8SDoug Rabson
378c19800e8SDoug Rabson	* gen_free.c: prefix primitive types with der_
379c19800e8SDoug Rabson
380c19800e8SDoug Rabson	* der_free.c: prefix primitive types with der_
381c19800e8SDoug Rabson
382c19800e8SDoug Rabson	* gen_copy.c: prefix primitive types with der_
383c19800e8SDoug Rabson
384c19800e8SDoug Rabson	* der_copy.c: rename copy_ to der_copy_
385c19800e8SDoug Rabson
386c19800e8SDoug Rabson	* Makefile.am: Add der-protos.h to nodist_include_HEADERS.
387c19800e8SDoug Rabson
388c19800e8SDoug Rabson	* der.h: use newly built <der-protos.h>
389c19800e8SDoug Rabson
390c19800e8SDoug Rabson	* Makefile.am: Generate der prototypes.
391c19800e8SDoug Rabson
392c19800e8SDoug Rabson	* gen.c: move any definitions here.
393c19800e8SDoug Rabson
394c19800e8SDoug Rabson	* asn1-common.h: move any definitions here.
395c19800e8SDoug Rabson
396c19800e8SDoug Rabson	* der.h: remove der_parse_oid prototype, it was never implemented.
397c19800e8SDoug Rabson
398c19800e8SDoug Rabson	* der.h: New der_print_heim_oid signature.  Test
399c19800e8SDoug Rabson	der_parse_heim_oid
400c19800e8SDoug Rabson
401c19800e8SDoug Rabson	* check-der.c: New der_print_heim_oid signature.  Test
402c19800e8SDoug Rabson	der_parse_heim_oid
403c19800e8SDoug Rabson
404c19800e8SDoug Rabson2006-10-07  Love Hörnquist Åstrand <lha@it.su.se>
405c19800e8SDoug Rabson
406c19800e8SDoug Rabson	* lex.l: Grow an even larger output table size.
407c19800e8SDoug Rabson
408c19800e8SDoug Rabson	* Makefile.am: split build files into dist_ and noinst_ SOURCES
409c19800e8SDoug Rabson
410c19800e8SDoug Rabson2006-10-04  Love Hörnquist Åstrand  <lha@it.su.se>
411c19800e8SDoug Rabson
412c19800e8SDoug Rabson	* gen_seq.c: In generation of remove_TYPE: if you just removed the
413c19800e8SDoug Rabson	last element, you must not memmove memory beyond the array.  From
414c19800e8SDoug Rabson	Andrew Bartlett
415c19800e8SDoug Rabson
416c19800e8SDoug Rabson2006-10-01  Love Hörnquist Åstrand  <lha@it.su.se>
417c19800e8SDoug Rabson
418c19800e8SDoug Rabson	* lex.l: Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald
419c19800e8SDoug Rabson	Barth.
420c19800e8SDoug Rabson
421c19800e8SDoug Rabson2006-09-24  Love Hörnquist Åstrand  <lha@it.su.se>
422c19800e8SDoug Rabson
423c19800e8SDoug Rabson	* gen_decode.c (decode_type): drop unused variable realtype.
424c19800e8SDoug Rabson
425c19800e8SDoug Rabson2006-09-11  Love Hörnquist Åstrand <lha@it.su.se>
426c19800e8SDoug Rabson
427c19800e8SDoug Rabson	* Makefile.am: Add KRB5SignedPath and friends.
428c19800e8SDoug Rabson
429c19800e8SDoug Rabson	* k5.asn1: Add KRB5SignedPath and friends.
430c19800e8SDoug Rabson
431c19800e8SDoug Rabson	* Makefile.am: Add new sequence generation for GeneralNames.
432c19800e8SDoug Rabson
433c19800e8SDoug Rabson2006-09-07  Love Hörnquist Åstrand  <lha@it.su.se>
434c19800e8SDoug Rabson
435c19800e8SDoug Rabson	* CMS.asn1 (CMSVersion): rename versions from v0 to CMSVersion_v0,
436c19800e8SDoug Rabson	...
437c19800e8SDoug Rabson
438c19800e8SDoug Rabson2006-09-05  Love Hörnquist Åstrand  <lha@it.su.se>
439c19800e8SDoug Rabson
440c19800e8SDoug Rabson	* Makefile.am: Add TESTSeqOf for testing sequence generation code.
441c19800e8SDoug Rabson
442c19800e8SDoug Rabson	* check-gen.c: Add sequence tests.
443c19800e8SDoug Rabson
444c19800e8SDoug Rabson	* test.asn1: Add TESTSeqOf for testing sequence generation code.
445c19800e8SDoug Rabson
446c19800e8SDoug Rabson	* gen_seq.c: fix warning.
447c19800e8SDoug Rabson
448c19800e8SDoug Rabson	* gen_seq.c: make generated data work
449c19800e8SDoug Rabson
450c19800e8SDoug Rabson	* setchgpw2.asn1: enctype is part of the krb5 module now, use that
451c19800e8SDoug Rabson	instead of locally defining it.
452c19800e8SDoug Rabson
453c19800e8SDoug Rabson	* Makefile.am: asn1_compile += gen_seq.c
454c19800e8SDoug Rabson
455c19800e8SDoug Rabson	* gen_locl.h: add new prototypes, remove unused ones.
456c19800e8SDoug Rabson
457c19800e8SDoug Rabson	* gen.c: Generate sequence function.
458c19800e8SDoug Rabson
459c19800e8SDoug Rabson	* main.c: add --sequence
460c19800e8SDoug Rabson
461c19800e8SDoug Rabson	* gen_seq.c: Add generated add_ and remove_ for "SEQUENCE OF
462c19800e8SDoug Rabson	TType". I'm tried of writing realloc(foo->data,
463c19800e8SDoug Rabson	sizeof(foo->data[0]) + (foo->len + 1)); Only generated for those
464c19800e8SDoug Rabson	type that is enabled by the command flag --sequence.
465c19800e8SDoug Rabson
466c19800e8SDoug Rabson2006-08-25  Love Hörnquist Åstrand  <lha@it.su.se>
467c19800e8SDoug Rabson
468c19800e8SDoug Rabson	* digest.asn1 (DigestRequest): add authid
469c19800e8SDoug Rabson
470c19800e8SDoug Rabson	* digest.asn1: Comment describing on how to communicate the sasl
471c19800e8SDoug Rabson	int/conf mode.
472c19800e8SDoug Rabson
473c19800e8SDoug Rabson2006-08-23  Love Hörnquist Åstrand  <lha@it.su.se>
474c19800e8SDoug Rabson
475c19800e8SDoug Rabson	* digest.asn1: Add some missing fields needed for digest.
476c19800e8SDoug Rabson
477c19800e8SDoug Rabson2006-08-21  Love Hörnquist Åstrand  <lha@it.su.se>
478c19800e8SDoug Rabson
479c19800e8SDoug Rabson	* digest.asn1: Tweak to make consisten and more easier to use.
480c19800e8SDoug Rabson
481c19800e8SDoug Rabson2006-07-20  Love Hörnquist Åstrand  <lha@it.su.se>
482c19800e8SDoug Rabson
483c19800e8SDoug Rabson	* Makefile.am: Remove CMS symmetric encryption support.  Add
484c19800e8SDoug Rabson	DigestProtocol.
485c19800e8SDoug Rabson
486c19800e8SDoug Rabson	* digest.asn1: DigestProtocol
487c19800e8SDoug Rabson
488c19800e8SDoug Rabson	* k5.asn1: Remove CMS symmetric encryption support.
489c19800e8SDoug Rabson
490c19800e8SDoug Rabson2006-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
491c19800e8SDoug Rabson
492c19800e8SDoug Rabson	* check-der.c (check_fail_heim_integer): disable test
493c19800e8SDoug Rabson
494c19800e8SDoug Rabson	* der_get.c (der_get_heim_integer): revert part of previous
495c19800e8SDoug Rabson
496c19800e8SDoug Rabson	* der_get.c (der_get_heim_integer): Add more checks
497c19800e8SDoug Rabson
498c19800e8SDoug Rabson	* asn1_print.c: Add printing of bignums and use der_print_heim_oid
499c19800e8SDoug Rabson
500c19800e8SDoug Rabson	* check-der.c (test_heim_oid_format_same): add printing on failure
501c19800e8SDoug Rabson
502c19800e8SDoug Rabson	* check-der.c: Add one check for heim_int, add checking for oid
503c19800e8SDoug Rabson	printing
504c19800e8SDoug Rabson
505c19800e8SDoug Rabson2006-06-06  Love Hörnquist Åstrand  <lha@it.su.se>
506c19800e8SDoug Rabson
507c19800e8SDoug Rabson	* Makefile.am: Impersonation support bits (and sort)
508c19800e8SDoug Rabson
509c19800e8SDoug Rabson	* k5.asn1: Impersonation support bits.
510c19800e8SDoug Rabson
511c19800e8SDoug Rabson2006-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
512c19800e8SDoug Rabson
513c19800e8SDoug Rabson	* der_format.c (der_parse_hex_heim_integer): avoid shadowing.
514c19800e8SDoug Rabson
515c19800e8SDoug Rabson2006-04-29  Love Hörnquist Åstrand  <lha@it.su.se>
516c19800e8SDoug Rabson
517c19800e8SDoug Rabson	* Makefile.am: Add ExternalPrincipalIdentifiers, shared between
518c19800e8SDoug Rabson	several elements.
519c19800e8SDoug Rabson
520c19800e8SDoug Rabson	* pkinit.asn1: Add ExternalPrincipalIdentifiers, shared between
521c19800e8SDoug Rabson	several elements.
522c19800e8SDoug Rabson
523c19800e8SDoug Rabson2006-04-28  Love Hörnquist Åstrand  <lha@it.su.se>
524c19800e8SDoug Rabson
525c19800e8SDoug Rabson	* parse.y: Add missing ;'s, found by bison on a SuSE 8.2 machine.
526c19800e8SDoug Rabson
527c19800e8SDoug Rabson2006-04-26  Love Hörnquist Åstrand  <lha@it.su.se>
528c19800e8SDoug Rabson
529c19800e8SDoug Rabson	* Makefile.am: Add definitions from RFC 3820, Proxy Certificate
530c19800e8SDoug Rabson	Profile.
531c19800e8SDoug Rabson
532c19800e8SDoug Rabson	* rfc2459.asn1: Add definitions from RFC 3820, Proxy Certificate
533c19800e8SDoug Rabson	Profile.
534c19800e8SDoug Rabson
535c19800e8SDoug Rabson2006-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
536c19800e8SDoug Rabson
537c19800e8SDoug Rabson	* rfc2459.asn1: Add id-Userid
538c19800e8SDoug Rabson
539c19800e8SDoug Rabson	* Makefile.am: Add UID and email
540c19800e8SDoug Rabson
541c19800e8SDoug Rabson	* pkcs9.asn1: Add id-pkcs9-emailAddress
542c19800e8SDoug Rabson
543c19800e8SDoug Rabson	* Makefile.am: Add attribute type oids from X520 and RFC 2247 DC
544c19800e8SDoug Rabson	oid
545c19800e8SDoug Rabson
546c19800e8SDoug Rabson	* rfc2459.asn1: Add attribute type oids from X520 and RFC 2247 DC
547c19800e8SDoug Rabson	oid
548c19800e8SDoug Rabson
549c19800e8SDoug Rabson2006-04-21  Love Hörnquist Åstrand <lha@it.su.se>
550c19800e8SDoug Rabson
551c19800e8SDoug Rabson	* Makefile.am: add sha-1 and sha-2
552c19800e8SDoug Rabson
553c19800e8SDoug Rabson	* rfc2459.asn1: add sha-1 and sha-2
554c19800e8SDoug Rabson
555c19800e8SDoug Rabson2006-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
556c19800e8SDoug Rabson
557c19800e8SDoug Rabson	* Makefile.am: Add id-pkcs1-sha256WithRSAEncryption and friends
558c19800e8SDoug Rabson
559c19800e8SDoug Rabson	* rfc2459.asn1: Add id-pkcs1-sha256WithRSAEncryption and friends
560c19800e8SDoug Rabson
561c19800e8SDoug Rabson	* CMS.asn1: Turn CMSRC2CBCParameter.rc2ParameterVersion into a
562c19800e8SDoug Rabson	constrained integer
563c19800e8SDoug Rabson
564c19800e8SDoug Rabson2006-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
565c19800e8SDoug Rabson
566c19800e8SDoug Rabson	* hash.c (hashtabnew): check for NULL before setting structure.
567c19800e8SDoug Rabson	Coverity, NetBSD CID#4
568c19800e8SDoug Rabson
569c19800e8SDoug Rabson2006-03-31  Love Hörnquist Åstrand  <lha@it.su.se>
570c19800e8SDoug Rabson
571c19800e8SDoug Rabson	* Makefile.am: gen_files_rfc2459 += asn1_ExtKeyUsage.x
572c19800e8SDoug Rabson
573c19800e8SDoug Rabson	* rfc2459.asn1: Add ExtKeyUsage.
574c19800e8SDoug Rabson
575c19800e8SDoug Rabson	* gen.c (generate_header_of_codefile): remove unused variable.
576c19800e8SDoug Rabson
577c19800e8SDoug Rabson2006-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
578c19800e8SDoug Rabson
579c19800e8SDoug Rabson	* gen.c: Put all the IMPORTed headers into the headerfile to avoid
580c19800e8SDoug Rabson	hidden depencies.
581c19800e8SDoug Rabson
582c19800e8SDoug Rabson2006-03-27  Love Hörnquist Åstrand  <lha@it.su.se>
583c19800e8SDoug Rabson
584c19800e8SDoug Rabson	* Makefile.am: Add id-pkinit-ms-san.
585c19800e8SDoug Rabson
586c19800e8SDoug Rabson	* pkinit.asn1: Add id-pkinit-ms-san.
587c19800e8SDoug Rabson
588c19800e8SDoug Rabson	* k5.asn1 (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
589c19800e8SDoug Rabson
590c19800e8SDoug Rabson2006-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
591c19800e8SDoug Rabson
592c19800e8SDoug Rabson	* Makefile.am: Add pkinit-san.
593c19800e8SDoug Rabson
594c19800e8SDoug Rabson	* pkinit.asn1: Rename id-pksan to id-pkinit-san
595c19800e8SDoug Rabson
596c19800e8SDoug Rabson2006-03-08  Love Hörnquist Åstrand  <lha@it.su.se>
597c19800e8SDoug Rabson
598c19800e8SDoug Rabson	* gen.c (init_generate): Nothing in the generated files needs
599c19800e8SDoug Rabson	timegm(), so no need to provide a prototype for it.
600c19800e8SDoug Rabson
601c19800e8SDoug Rabson2006-02-13  Love Hörnquist Åstrand  <lha@it.su.se>
602c19800e8SDoug Rabson
603c19800e8SDoug Rabson	* pkinit.asn1: paChecksum is now OPTIONAL so it can be upgraded to
604c19800e8SDoug Rabson	something better then SHA1
605c19800e8SDoug Rabson
606c19800e8SDoug Rabson2006-01-31  Love Hörnquist Åstrand  <lha@it.su.se>
607c19800e8SDoug Rabson
608c19800e8SDoug Rabson	* extra.c: Stub-generator now generates alloc statements for
609c19800e8SDoug Rabson	tagless ANY OPTIONAL, remove workaround.
610c19800e8SDoug Rabson
611c19800e8SDoug Rabson	* check-gen.c: check for "tagless ANY OPTIONAL"
612c19800e8SDoug Rabson
613c19800e8SDoug Rabson	* test.asn1: check for "tagless ANY OPTIONAL"
614c19800e8SDoug Rabson
615c19800e8SDoug Rabson2006-01-30  Love Hörnquist Åstrand  <lha@it.su.se>
616c19800e8SDoug Rabson
617c19800e8SDoug Rabson	* der.h: UniversalString and BMPString are both implemented.
618c19800e8SDoug Rabson
619c19800e8SDoug Rabson	* der.h: Remove , after the last element of enum.
620c19800e8SDoug Rabson
621c19800e8SDoug Rabson	* asn1_gen.c: Spelling.
622c19800e8SDoug Rabson
623c19800e8SDoug Rabson2006-01-20  Love Hörnquist Åstrand <lha@it.su.se>
624c19800e8SDoug Rabson
625c19800e8SDoug Rabson	* der_length.c (length_heim_integer): Try handle negative length
626c19800e8SDoug Rabson	of integers better.
627c19800e8SDoug Rabson
628c19800e8SDoug Rabson	* der_get.c (der_get_heim_integer): handle negative integers.
629c19800e8SDoug Rabson
630c19800e8SDoug Rabson	* check-der.c: check heim_integer.
631c19800e8SDoug Rabson
632c19800e8SDoug Rabson2006-01-18  Love Hörnquist Åstrand <lha@it.su.se>
633c19800e8SDoug Rabson
634c19800e8SDoug Rabson	* Makefile.am: Its cRLReason, not cRLReasons
635c19800e8SDoug Rabson
636c19800e8SDoug Rabson	* canthandle.asn1: "Allocation is done on CONTEXT tags" works just
637c19800e8SDoug Rabson	fine.
638c19800e8SDoug Rabson
639c19800e8SDoug Rabson	* rfc2459.asn1: Add CRL structures and OIDs.
640c19800e8SDoug Rabson
641c19800e8SDoug Rabson	* Makefile.am: Add CRL and TESTAlloc structures and OIDs.
642c19800e8SDoug Rabson
643c19800e8SDoug Rabson	* check-gen.c: Check OPTIONAL context-tagless elements.
644c19800e8SDoug Rabson
645c19800e8SDoug Rabson	* test.asn1: Check OPTIONAL context-tagless elements.
646c19800e8SDoug Rabson
647c19800e8SDoug Rabson	* der_cmp.c (heim_integer_cmp): make it work with negative
648c19800e8SDoug Rabson	numbers.
649c19800e8SDoug Rabson
650c19800e8SDoug Rabson2006-01-17  Love Hörnquist Åstrand  <lha@it.su.se>
651c19800e8SDoug Rabson
652c19800e8SDoug Rabson	* check-der.c: check that der_parse_hex_heim_integer() handles odd
653c19800e8SDoug Rabson	length numbers.
654c19800e8SDoug Rabson
655c19800e8SDoug Rabson	* der_format.c (der_parse_hex_heim_integer): make more resiliant
656c19800e8SDoug Rabson	to errors, handle odd length numbers.
657c19800e8SDoug Rabson
658c19800e8SDoug Rabson2006-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
659c19800e8SDoug Rabson
660c19800e8SDoug Rabson	* Makefile.am: Add RSAPrivateKey
661c19800e8SDoug Rabson
662c19800e8SDoug Rabson	* rfc2459.asn1: Add RSAPrivateKey.
663c19800e8SDoug Rabson
664c19800e8SDoug Rabson2006-01-05  Love Hörnquist Åstrand  <lha@it.su.se>
665c19800e8SDoug Rabson
666c19800e8SDoug Rabson	* der_copy.c (copy_heim_integer): copy the negative flag
667c19800e8SDoug Rabson
668c19800e8SDoug Rabson2005-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
669c19800e8SDoug Rabson
670c19800e8SDoug Rabson	* parse.y: Drop ExceptionSpec for now, its not used.
671c19800e8SDoug Rabson
672c19800e8SDoug Rabson2005-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
673c19800e8SDoug Rabson
674c19800e8SDoug Rabson	* test.asn1: Add test string for constraints.
675c19800e8SDoug Rabson
676c19800e8SDoug Rabson	* symbol.h: Add support for part of the Constraint-s
677c19800e8SDoug Rabson
678c19800e8SDoug Rabson	* gen.c: Set new constraints pointer in Type to NULL for inline
679c19800e8SDoug Rabson	constructed types.
680c19800e8SDoug Rabson
681c19800e8SDoug Rabson	* parse.y: Add support for parsing part of the Constraint-s
682c19800e8SDoug Rabson
683c19800e8SDoug Rabson2005-10-29  Love Hörnquist Åstrand  <lha@it.su.se>
684c19800e8SDoug Rabson
685c19800e8SDoug Rabson	* Makefile.am: Add some X9.57 (DSA) oids, sort lines
686c19800e8SDoug Rabson
687c19800e8SDoug Rabson	* rfc2459.asn1: Add some X9.57 (DSA) oids.
688c19800e8SDoug Rabson
689c19800e8SDoug Rabson2005-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
690c19800e8SDoug Rabson
691c19800e8SDoug Rabson	* Makefile.am: Remove pk-init-19 support.
692c19800e8SDoug Rabson
693c19800e8SDoug Rabson	* pkinit.asn1: Fix comment
694c19800e8SDoug Rabson
695c19800e8SDoug Rabson	* check-der.c: Add tests for parse and print functions for
696c19800e8SDoug Rabson	heim_integer.
697c19800e8SDoug Rabson
698c19800e8SDoug Rabson	* Makefile.am: Add parse and print functions for heim_integer.
699c19800e8SDoug Rabson
700c19800e8SDoug Rabson	* der_format.c: Add parse and print functions for heim_integer.
701c19800e8SDoug Rabson
702c19800e8SDoug Rabson	* der.h: Add parse and print functions for heim_integer.
703c19800e8SDoug Rabson
704c19800e8SDoug Rabson2005-09-22  Love Hörnquist Åstrand  <lha@it.su.se>
705c19800e8SDoug Rabson
706c19800e8SDoug Rabson	* Makefile.am (gen_files_rfc2459) += asn1_DHPublicKey.x
707c19800e8SDoug Rabson
708c19800e8SDoug Rabson	* rfc2459.asn1: Add DHPublicKey, and INTEGER to for storing the DH
709c19800e8SDoug Rabson	public key in the SubjectPublicKeyInfo.subjectPublicKey BIT
710c19800e8SDoug Rabson	STRING.
711c19800e8SDoug Rabson
712c19800e8SDoug Rabson2005-09-20  Love Hörnquist Åstrand  <lha@it.su.se>
713c19800e8SDoug Rabson
714c19800e8SDoug Rabson	* gen_decode.c: TSequenceOf/TSetOf: Increase the length of the
715c19800e8SDoug Rabson	array after successful decoding the next element, so that the
716c19800e8SDoug Rabson	array don't contain heap-data.
717c19800e8SDoug Rabson
718c19800e8SDoug Rabson2005-09-13  Love Hörnquist Åstrand  <lha@it.su.se>
719c19800e8SDoug Rabson
720c19800e8SDoug Rabson	* check-der.c: Avoid empty array initiators.
721c19800e8SDoug Rabson
722c19800e8SDoug Rabson	* pkcs8.asn1 (PKCS8PrivateKeyInfo): Inline SET OF to avoid
723c19800e8SDoug Rabson	compiler "feature"
724c19800e8SDoug Rabson
725c19800e8SDoug Rabson	* check-common.c: Avoid signedness warnings.
726c19800e8SDoug Rabson
727c19800e8SDoug Rabson	* check-common.h: Makes bytes native platform signed to avoid
728c19800e8SDoug Rabson	casting everywhere
729c19800e8SDoug Rabson
730c19800e8SDoug Rabson	* check-der.c: Don't depend on malloc(very-very-larger-value) will
731c19800e8SDoug Rabson	fail.  Cast to unsigned long before printing size_t.
732c19800e8SDoug Rabson
733c19800e8SDoug Rabson	* check-gen.c: Don't depend on malloc(very-very-larger-value) will
734c19800e8SDoug Rabson	fail.
735c19800e8SDoug Rabson
736c19800e8SDoug Rabson	* check-gen.c: Fix signedness warnings.
737c19800e8SDoug Rabson
738c19800e8SDoug Rabson	* lex.l: unput() have to hanppen in actions for flex 2.5.31, can
739c19800e8SDoug Rabson	do them in user code sesction, so move up handle_comment and
740c19800e8SDoug Rabson	handle_string into action, not much sharing was done anyway.
741c19800e8SDoug Rabson
742c19800e8SDoug Rabson2005-09-09  Love Hörnquist Åstrand  <lha@it.su.se>
743c19800e8SDoug Rabson
744c19800e8SDoug Rabson	* check-der.c (test_one_int): len and len_len is size_t
745c19800e8SDoug Rabson
746c19800e8SDoug Rabson2005-08-23  Love Hörnquist Åstrand  <lha@it.su.se>
747c19800e8SDoug Rabson
748c19800e8SDoug Rabson	* gen_encode.c: Change name of oldret for each instance its used
749c19800e8SDoug Rabson	to avoid shadow warning. From: Stefan Metzmacher
750c19800e8SDoug Rabson	<metze@samba.org>.
751c19800e8SDoug Rabson
752c19800e8SDoug Rabson	* gen_length.c: Change name of oldret for each instance its used
753c19800e8SDoug Rabson	to avoid shadow warning. From: Stefan Metzmacher
754c19800e8SDoug Rabson	<metze@samba.org>.
755c19800e8SDoug Rabson
756c19800e8SDoug Rabson	* gen_decode.c: Change name of oldret for each instance its used
757c19800e8SDoug Rabson	to avoid shadow warning. From: Stefan Metzmacher
758c19800e8SDoug Rabson	<metze@samba.org>.
759c19800e8SDoug Rabson
760c19800e8SDoug Rabson	* parse.y: Const poision yyerror.
761c19800e8SDoug Rabson
762c19800e8SDoug Rabson	* gen.c: Const poision.
763c19800e8SDoug Rabson
764c19800e8SDoug Rabson2005-08-22 Love Hörnquist Åstrand  <lha@it.su.se>
765c19800e8SDoug Rabson
766c19800e8SDoug Rabson	* k5.asn1: Add KRB5-PADATA-PK-AS-09-BINDING, client send
767c19800e8SDoug Rabson	this (with an empty pa-data.padata-value) to tell the KDC that the
768c19800e8SDoug Rabson	client support the binding the PA-REP to the AS-REQ packet. This
769c19800e8SDoug Rabson	is to fix the problem lack of binding the AS-REQ to the PK-AS-REP
770c19800e8SDoug Rabson	in pre PK-INIT-27. The nonce is replaced with a asCheckSum.
771c19800e8SDoug Rabson
772c19800e8SDoug Rabson2005-08-11 Love Hörnquist Åstrand  <lha@it.su.se>
773c19800e8SDoug Rabson
774c19800e8SDoug Rabson	* canthandle.asn1: Allocation is done on CONTEXT tags.
775c19800e8SDoug Rabson
776c19800e8SDoug Rabson	* asn1_gen.c: rename optind to optidx to avoid shadow warnings
777c19800e8SDoug Rabson
778c19800e8SDoug Rabson2005-07-28  Love Hörnquist Åstrand  <lha@it.su.se>
779c19800e8SDoug Rabson
780c19800e8SDoug Rabson	* rfc2459.asn1: add id-rsadsi-rc2-cbc
781c19800e8SDoug Rabson
782c19800e8SDoug Rabson	* Makefile.am: add another oid for rc2
783c19800e8SDoug Rabson
784c19800e8SDoug Rabson2005-07-27  Love Hörnquist Åstrand  <lha@it.su.se>
785c19800e8SDoug Rabson
786c19800e8SDoug Rabson	* check-der.c: Make variable initiation constant by moving them to
787c19800e8SDoug Rabson	global context
788c19800e8SDoug Rabson
789c19800e8SDoug Rabson	* check-gen.c: change to c89 comment
790c19800e8SDoug Rabson
791c19800e8SDoug Rabson2005-07-27  Love Hörnquist Åstrand  <lha@it.su.se>
792c19800e8SDoug Rabson
793c19800e8SDoug Rabson	* Makefile.am: remove duplicate asn1_CMSAttributes.x
794c19800e8SDoug Rabson
795c19800e8SDoug Rabson2005-07-26  Love Hörnquist Åstrand  <lha@it.su.se>
796c19800e8SDoug Rabson
797c19800e8SDoug Rabson	* asn1_print.c: rename optind to optidx
798c19800e8SDoug Rabson
799c19800e8SDoug Rabson	* Makefile.am: Update to pkinit-27
800c19800e8SDoug Rabson
801c19800e8SDoug Rabson	* pkinit.asn1: Update to pkinit-27
802c19800e8SDoug Rabson
803c19800e8SDoug Rabson2005-07-25  Love Hörnquist Åstrand  <lha@it.su.se>
804c19800e8SDoug Rabson
805c19800e8SDoug Rabson	* check-der.c: make it work for non c99 compilers too
806c19800e8SDoug Rabson
807c19800e8SDoug Rabson	* check-der.c: start testing BIT STRING
808c19800e8SDoug Rabson
809c19800e8SDoug Rabson	* der_cmp.c (heim_bit_string_cmp): try handle corner cases better
810c19800e8SDoug Rabson
811c19800e8SDoug Rabson	* gen_free.c (free_type): free bignum integers
812c19800e8SDoug Rabson
813c19800e8SDoug Rabson2005-07-23   Love Hörnquist Åstrand  <lha@it.su.se>
814c19800e8SDoug Rabson
815c19800e8SDoug Rabson	* Makefile.am: add PKCS12-OctetString
816c19800e8SDoug Rabson
817c19800e8SDoug Rabson	* pkcs12.asn1: add PKCS12-OctetString
818c19800e8SDoug Rabson
819c19800e8SDoug Rabson	* Makefile.am: add new files
820c19800e8SDoug Rabson
821c19800e8SDoug Rabson	* rfc2459.asn1: include SET OF in Attribute to make the type more
822c19800e8SDoug Rabson	useful
823c19800e8SDoug Rabson
824c19800e8SDoug Rabson	* CMS.asn1: handle IMPLICIT and share some common structures
825c19800e8SDoug Rabson
826c19800e8SDoug Rabson2005-07-21  Love Hörnquist Åstrand  <lha@it.su.se>
827c19800e8SDoug Rabson
828c19800e8SDoug Rabson	* rfc2459.asn1: Include enough workarounds that this even might
829c19800e8SDoug Rabson	work.
830c19800e8SDoug Rabson
831c19800e8SDoug Rabson	* check-gen.c: Two implicit tests, one with all structures inlined
832c19800e8SDoug Rabson
833c19800e8SDoug Rabson	* test.asn1: fix workaround for IMPLICIT CONS case
834c19800e8SDoug Rabson
835c19800e8SDoug Rabson	* canthandle.asn1: fix workaround for IMPLICIT CONS case
836c19800e8SDoug Rabson
837c19800e8SDoug Rabson	* asn1_print.c: hint that there are IMPLICIT content when we find
838c19800e8SDoug Rabson	it
839c19800e8SDoug Rabson
840c19800e8SDoug Rabson	* check-gen.c: Added #ifdef out test for IMPLICIT tagging.
841c19800e8SDoug Rabson
842c19800e8SDoug Rabson	* Makefile.am: test several IMPLICIT tag level deep
843c19800e8SDoug Rabson
844c19800e8SDoug Rabson	* test.asn1: test several IMPLICIT tag level deep
845c19800e8SDoug Rabson
846c19800e8SDoug Rabson	* test.asn1: tests for IMPLICIT
847c19800e8SDoug Rabson
848c19800e8SDoug Rabson	* Makefile.am: tests for IMPLICIT
849c19800e8SDoug Rabson
850c19800e8SDoug Rabson	* canthandle.asn1: Expand on what is wrong with the IMPLICIT
851c19800e8SDoug Rabson	tagging
852c19800e8SDoug Rabson
853c19800e8SDoug Rabson	* rfc2459.asn1: some of the structure are in the IMPLICIT TAGS
854c19800e8SDoug Rabson	module
855c19800e8SDoug Rabson
856c19800e8SDoug Rabson2005-07-19  Love Hörnquist Åstrand  <lha@it.su.se>
857c19800e8SDoug Rabson
858c19800e8SDoug Rabson	* asn1_print.c: print size_t by casting to unsigned long and use
859c19800e8SDoug Rabson	right printf format tags are unsigned integers
860c19800e8SDoug Rabson
861c19800e8SDoug Rabson	* gen.c (generate_constant): oid elements are unsigned
862c19800e8SDoug Rabson
863c19800e8SDoug Rabson	* gen_decode.c (decode_type): tagdatalen should be an size_t.
864c19800e8SDoug Rabson
865c19800e8SDoug Rabson	* extra.c (decode_heim_any): tag is unsigned int.
866c19800e8SDoug Rabson
867c19800e8SDoug Rabson	* der_get.c (der_match_tag): tag is unsigned int.
868c19800e8SDoug Rabson
869c19800e8SDoug Rabson	* gen_length.c (length_type): cast size_t argument to unsigned
870c19800e8SDoug Rabson	long and use appropriate printf format
871c19800e8SDoug Rabson
872c19800e8SDoug Rabson	* check-der.c (check_fail_bitstring): check for length overflow
873c19800e8SDoug Rabson
874c19800e8SDoug Rabson	* der_get.c: rewrite integer overflow tests w/o SIZE_T_MAX
875c19800e8SDoug Rabson
876c19800e8SDoug Rabson	* check-common.c (generic_decode_fail): only copy in if checklen
877c19800e8SDoug Rabson	its less then 0xffffff and larger than 0.
878c19800e8SDoug Rabson
879c19800e8SDoug Rabson	* gen_decode.c (find_tag): find external references, we can't
880c19800e8SDoug Rabson	handle those, so tell user that instead of crashing
881c19800e8SDoug Rabson
882c19800e8SDoug Rabson2005-07-18  Dave Love  <fx@gnu.org>
883c19800e8SDoug Rabson
884c19800e8SDoug Rabson	* extra.c (free_heim_any_set): Fix return.
885c19800e8SDoug Rabson
886c19800e8SDoug Rabson	* gen_decode.c (find_tag): Fix return in TType case.
887c19800e8SDoug Rabson
888c19800e8SDoug Rabson2005-07-13  Love Hörnquist Åstrand  <lha@it.su.se>
889c19800e8SDoug Rabson
890c19800e8SDoug Rabson	* gen_encode.c (TChoice): add () to make sure variable expression
891c19800e8SDoug Rabson	is evaluated correctly
892c19800e8SDoug Rabson
893c19800e8SDoug Rabson	* gen_length.c (TChoice): add () to make sure variable expression
894c19800e8SDoug Rabson	is evaluated correctly
895c19800e8SDoug Rabson
896c19800e8SDoug Rabson	* k5.asn1: reapply 1.43 that got lost in the merge: rename pvno to
897c19800e8SDoug Rabson	krb5-pvno
898c19800e8SDoug Rabson
899c19800e8SDoug Rabson2005-07-12  Love Hörnquist Åstrand  <lha@it.su.se>
900c19800e8SDoug Rabson
901c19800e8SDoug Rabson	* gen_decode.c (decode_type): TChoice: set the label
902c19800e8SDoug Rabson
903c19800e8SDoug Rabson	* check-gen.c (cmp_Name): do at least some checking
904c19800e8SDoug Rabson
905c19800e8SDoug Rabson	* gen_locl.h: rename function filename() to get_filename() to
906c19800e8SDoug Rabson	avoid shadowing
907c19800e8SDoug Rabson
908c19800e8SDoug Rabson	* lex.l: rename function filename() to get_filename() to avoid
909c19800e8SDoug Rabson	shadowing
910c19800e8SDoug Rabson
911c19800e8SDoug Rabson	* gen.c: rename function filename() to get_filename() to avoid
912c19800e8SDoug Rabson	shadowing
913c19800e8SDoug Rabson
914c19800e8SDoug Rabson	* check-der.c: add failure checks for large oid elements
915c19800e8SDoug Rabson
916c19800e8SDoug Rabson	* check-gen.c: add failure checks for tag (and large tags)
917c19800e8SDoug Rabson
918c19800e8SDoug Rabson	* der_get.c: Check for integer overflows in tags and oid elements.
919c19800e8SDoug Rabson
920c19800e8SDoug Rabson2005-07-10  Assar Westerlund  <assar@kth.se>
921c19800e8SDoug Rabson
922c19800e8SDoug Rabson	* gen_decode.c: Fix decoding of choices to select which branch to
923c19800e8SDoug Rabson	try based on the tag and return an error if that branch fails.
924c19800e8SDoug Rabson
925c19800e8SDoug Rabson	* check-gen.c: Fix short choice test cases.
926c19800e8SDoug Rabson
927c19800e8SDoug Rabson2005-07-09  Assar Westerlund  <assar@kth.se>
928c19800e8SDoug Rabson
929c19800e8SDoug Rabson	* symbol.c:
930c19800e8SDoug Rabson	* parse.y:
931c19800e8SDoug Rabson	* main.c:
932c19800e8SDoug Rabson	* lex.l:
933c19800e8SDoug Rabson	* gen_length.c:
934c19800e8SDoug Rabson	* gen_free.c:
935c19800e8SDoug Rabson	* gen_encode.c:
936c19800e8SDoug Rabson	* gen_decode.c:
937c19800e8SDoug Rabson	* gen_copy.c:
938c19800e8SDoug Rabson	* gen.c:
939c19800e8SDoug Rabson	* extra.c:
940c19800e8SDoug Rabson	* check-gen.c:
941c19800e8SDoug Rabson	* check-der.c:
942c19800e8SDoug Rabson	* check-common.c:
943c19800e8SDoug Rabson	* asn1_print.c:
944c19800e8SDoug Rabson	* asn1_gen.c:
945c19800e8SDoug Rabson	Use emalloc, ecalloc, and estrdup.
946c19800e8SDoug Rabson	Check return value from asprintf.
947c19800e8SDoug Rabson	Make sure that malloc(0) returning NULL is not treated as an
948c19800e8SDoug Rabson	error.
949c19800e8SDoug Rabson
950c19800e8SDoug Rabson2005-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
951c19800e8SDoug Rabson
952c19800e8SDoug Rabson	* check-gen.c: test cases for CHOICE, its too liberal right now,
953c19800e8SDoug Rabson	it don't fail hard on failure on after it successfully decoded the
954c19800e8SDoug Rabson	first tag in a choice branch
955c19800e8SDoug Rabson
956c19800e8SDoug Rabson	* asn1_gen.c: calculate the basename for the output file,
957c19800e8SDoug Rabson	pretty-print tag number
958c19800e8SDoug Rabson
959c19800e8SDoug Rabson	* test.gen: sample for asn1_gen
960c19800e8SDoug Rabson
961c19800e8SDoug Rabson	* check-gen.c: check errors in SEQUENCE
962c19800e8SDoug Rabson
963c19800e8SDoug Rabson	* Makefile.am: build asn1_gen, TESTSeq and new, and class/type/tag
964c19800e8SDoug Rabson	string<->num converter.
965c19800e8SDoug Rabson
966c19800e8SDoug Rabson	* test.asn1: TESTSeq, for testing SEQUENCE
967c19800e8SDoug Rabson
968c19800e8SDoug Rabson	* asn1_gen.c: generator for asn1 data
969c19800e8SDoug Rabson
970c19800e8SDoug Rabson	* asn1_print.c: use class/type/tag string<->num converter.
971c19800e8SDoug Rabson
972c19800e8SDoug Rabson	* der.c: Add class/type/tag string<->num converter.
973c19800e8SDoug Rabson
974c19800e8SDoug Rabson	* der.h: Add class/type/tag string<->num converter.
975c19800e8SDoug Rabson	Prototypes/structures for new time bits.
976c19800e8SDoug Rabson
977c19800e8SDoug Rabson2005-07-09  Love Hörnquist Åstrand  <lha@it.su.se>
978c19800e8SDoug Rabson
979c19800e8SDoug Rabson	* der_get.c (der_get_unsigned) check for length overflow
980c19800e8SDoug Rabson	(der_get_integer) ditto
981c19800e8SDoug Rabson	(der_get_general_string) ditto
982c19800e8SDoug Rabson
983c19800e8SDoug Rabson	* der_get.c: check for overruns using SIZE_T_MAX
984c19800e8SDoug Rabson
985c19800e8SDoug Rabson	* check-der.c: check BIT STRING and OBJECT IDENTIFIER error cases
986c19800e8SDoug Rabson
987c19800e8SDoug Rabson	* check-common.c (generic_decode_fail): allocate 4K for the over
988c19800e8SDoug Rabson	sized memory test
989c19800e8SDoug Rabson
990c19800e8SDoug Rabson	* der_get.c (der_get_oid): check for integer overruns and
991c19800e8SDoug Rabson	unterminated oid correctly
992c19800e8SDoug Rabson
993c19800e8SDoug Rabson	* check-common.h (map_alloc, generic_decode_fail): prototypes
994c19800e8SDoug Rabson
995c19800e8SDoug Rabson	* check-common.c (map_alloc): make input buffer const
996c19800e8SDoug Rabson	(generic_decode_fail): verify decoding failures
997c19800e8SDoug Rabson
998c19800e8SDoug Rabson2005-07-05  Love Hörnquist Åstrand  <lha@it.su.se>
999c19800e8SDoug Rabson
1000c19800e8SDoug Rabson	* gen_encode.c: split up the printf for SET OF, also use the
1001c19800e8SDoug Rabson	generate name for the symbol in the SET OF, if not, the name might
1002c19800e8SDoug Rabson	contain non valid variable name characters (like -)
1003c19800e8SDoug Rabson
1004c19800e8SDoug Rabson2005-07-04  Love Hörnquist Åstrand  <lha@it.su.se>
1005c19800e8SDoug Rabson
1006c19800e8SDoug Rabson	* Makefile.am: move pkcs12 defines into their own namespace
1007c19800e8SDoug Rabson
1008c19800e8SDoug Rabson	* pkcs12.asn1: move pkcs12 defines into their own namespace
1009c19800e8SDoug Rabson
1010c19800e8SDoug Rabson	* pkcs9.asn1: add PKCS9-friendlyName with workaround for SET OF
1011c19800e8SDoug Rabson	bug
1012c19800e8SDoug Rabson
1013c19800e8SDoug Rabson	* heim_asn1.h: reuse heim_octet_string for heim_any types
1014c19800e8SDoug Rabson
1015c19800e8SDoug Rabson	* main.c: use optidx, handle the case where name is missing and
1016c19800e8SDoug Rabson	use base of filename then
1017c19800e8SDoug Rabson
1018c19800e8SDoug Rabson	* asn1-common.h: include ASN1_MALLOC_ENCODE
1019c19800e8SDoug Rabson
1020c19800e8SDoug Rabson	* gen_decode.c: use less context so lower indentention level, add
1021c19800e8SDoug Rabson	missing {} where needed
1022c19800e8SDoug Rabson
1023c19800e8SDoug Rabson2005-07-02  Love Hörnquist Åstrand  <lha@it.su.se>
1024c19800e8SDoug Rabson
1025c19800e8SDoug Rabson	* gen_copy.c: Use a global variable to keep track of if the 'goto
1026c19800e8SDoug Rabson	fail' was used, and use that to only generate the label if needed.
1027c19800e8SDoug Rabson
1028c19800e8SDoug Rabson	* asn1_print.c: do indefinite form loop detection and stop after
1029c19800e8SDoug Rabson	10000 recursive indefinite forms, stops crashing due to running
1030c19800e8SDoug Rabson	out of stack
1031c19800e8SDoug Rabson
1032c19800e8SDoug Rabson	* asn1_print.c: catch badly formated indefinite length data
1033c19800e8SDoug Rabson	(missing EndOfContent tag) add (negative) indent flag to speed up
1034c19800e8SDoug Rabson	testing
1035c19800e8SDoug Rabson
1036c19800e8SDoug Rabson2005-07-01  Love Hörnquist Åstrand  <lha@it.su.se>
1037c19800e8SDoug Rabson
1038c19800e8SDoug Rabson	* canthandle.asn1: Can't handle primitives in CHOICE
1039c19800e8SDoug Rabson
1040c19800e8SDoug Rabson	* gen_decode.c: Check if malloc failes
1041c19800e8SDoug Rabson
1042c19800e8SDoug Rabson	* gen_copy.c: Make sure to free memory on failure
1043c19800e8SDoug Rabson
1044c19800e8SDoug Rabson	* gen_decode.c: Check if malloc failes, rename "reallen" to
1045c19800e8SDoug Rabson	tagdatalen since that is what it is.
1046c19800e8SDoug Rabson
1047c19800e8SDoug Rabson2005-05-29  Love Hörnquist Åstrand  <lha@it.su.se>
1048c19800e8SDoug Rabson
1049c19800e8SDoug Rabson	* prefix Der_class with ASN1_C_ to avoid problems with system
1050c19800e8SDoug Rabson	headerfiles that pollute the name space
1051c19800e8SDoug Rabson
1052c19800e8SDoug Rabson2005-05-20  Love Hörnquist Åstrand  <lha@it.su.se>
1053c19800e8SDoug Rabson
1054c19800e8SDoug Rabson	* pkcs12.asn1: add PKCS12CertBag
1055c19800e8SDoug Rabson
1056c19800e8SDoug Rabson	* pkcs9.asn1: add pkcs9 certtype x509 certificate
1057c19800e8SDoug Rabson
1058c19800e8SDoug Rabson	* Makefile.am: add pkcs12 certbag and pkcs9 certtype x509
1059c19800e8SDoug Rabson	certificate
1060c19800e8SDoug Rabson
1061c19800e8SDoug Rabson	* pkcs12.asn1: split off PKCS12Attributes from SafeBag so it can
1062c19800e8SDoug Rabson	be reused
1063c19800e8SDoug Rabson
1064c19800e8SDoug Rabson	* Makefile.am: add PKCS12Attributes
1065c19800e8SDoug Rabson
1066c19800e8SDoug Rabson2005-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
1067c19800e8SDoug Rabson
1068c19800e8SDoug Rabson	* canthandle.asn1: fix tags in example
1069c19800e8SDoug Rabson
1070c19800e8SDoug Rabson2005-05-02  Love Hörnquist Åstrand  <lha@it.su.se>
1071c19800e8SDoug Rabson
1072c19800e8SDoug Rabson	* pkinit.asn1: Let the Windows nonce be an int32 (signed), if not
1073c19800e8SDoug Rabson	it will fail when using Windows PK-INIT.
1074c19800e8SDoug Rabson
1075c19800e8SDoug Rabson2005-05-01  Love Hörnquist Åstrand  <lha@it.su.se>
1076c19800e8SDoug Rabson
1077c19800e8SDoug Rabson	* Makefile.am: add pkcs12-PBEParams
1078c19800e8SDoug Rabson
1079c19800e8SDoug Rabson	* pkcs12.asn1: add pkcs12-PBEParams
1080c19800e8SDoug Rabson
1081c19800e8SDoug Rabson	* parse.y: objid_element: exit when the condition fails
1082c19800e8SDoug Rabson
1083c19800e8SDoug Rabson2005-04-26  Love Hörnquist Åstrand  <lha@it.su.se>
1084c19800e8SDoug Rabson
1085c19800e8SDoug Rabson	* gen_glue.c: 1.8: switch the units variable to a
1086c19800e8SDoug Rabson	function. gcc-4.1 needs the size of the structure if its defined
1087c19800e8SDoug Rabson	as extern struct units foo_units[] an we don't want to include
1088c19800e8SDoug Rabson	<parse_units.h> in the generate headerfile
1089c19800e8SDoug Rabson
1090c19800e8SDoug Rabson2005-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
1091c19800e8SDoug Rabson
1092c19800e8SDoug Rabson	* Makefile.am: add the des-ede3-cbc oid that ansi x9.52 uses
1093c19800e8SDoug Rabson
1094c19800e8SDoug Rabson	* rfc2459.asn1: add the des-ede3-cbc oid that ansi x9.52 uses
1095c19800e8SDoug Rabson
1096c19800e8SDoug Rabson	* Makefile.am: add oids for x509
1097c19800e8SDoug Rabson
1098c19800e8SDoug Rabson	* rfc2459.asn1: add oids now when the compiler can handle them
1099c19800e8SDoug Rabson
1100c19800e8SDoug Rabson2005-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
1101c19800e8SDoug Rabson
1102c19800e8SDoug Rabson	* Makefile.am: add pkcs9 files
1103c19800e8SDoug Rabson
1104c19800e8SDoug Rabson	* pkcs9.asn1: add small number of oids from pkcs9
1105c19800e8SDoug Rabson
1106c19800e8SDoug Rabson2005-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
1107c19800e8SDoug Rabson
1108c19800e8SDoug Rabson	* Makefile.am: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1109c19800e8SDoug Rabson
1110c19800e8SDoug Rabson	* rfc2459.asn1: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1111c19800e8SDoug Rabson
1112c19800e8SDoug Rabson2005-03-10  Love Hörnquist Åstrand  <lha@it.su.se>
1113c19800e8SDoug Rabson
1114c19800e8SDoug Rabson	* k5.asn1: merge pa-numbers
1115c19800e8SDoug Rabson
1116c19800e8SDoug Rabson2005-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
1117c19800e8SDoug Rabson
1118c19800e8SDoug Rabson	* Makefile.am: add oid's
1119c19800e8SDoug Rabson
1120c19800e8SDoug Rabson	* rfc2459.asn1: add encryption oids
1121c19800e8SDoug Rabson
1122c19800e8SDoug Rabson	* CMS.asn1: add signedAndEnvelopedData oid
1123c19800e8SDoug Rabson
1124c19800e8SDoug Rabson	* pkcs12.asn1: add pkcs12 oids
1125c19800e8SDoug Rabson
1126c19800e8SDoug Rabson	* CMS.asn1: add pkcs7 oids
1127c19800e8SDoug Rabson
1128c19800e8SDoug Rabson2005-03-08  Love Hörnquist Åstrand  <lha@it.su.se>
1129c19800e8SDoug Rabson
1130c19800e8SDoug Rabson	* gen.c (generate_header_of_codefile): break out the header
1131c19800e8SDoug Rabson	section generation
1132c19800e8SDoug Rabson	(generate_constant): generate a function that return the oid
1133c19800e8SDoug Rabson	inside a heim_oid
1134c19800e8SDoug Rabson
1135c19800e8SDoug Rabson	* parse.y: fix the ordering of the oid's
1136c19800e8SDoug Rabson
1137c19800e8SDoug Rabson	* parse.y: handle OBJECT IDENTIFIER as value construct
1138c19800e8SDoug Rabson
1139c19800e8SDoug Rabson2005-02-24  Love Hörnquist Åstrand  <lha@it.su.se>
1140c19800e8SDoug Rabson
1141c19800e8SDoug Rabson	* Preserve content of CHOICE element that is unknown if ellipsis
1142c19800e8SDoug Rabson	was used when defining the structure
1143c19800e8SDoug Rabson
1144c19800e8SDoug Rabson2005-02-13  Love Hörnquist Åstrand  <lha@it.su.se>
1145c19800e8SDoug Rabson
1146c19800e8SDoug Rabson	* parse.y: use ANS1_TAILQ macros
1147c19800e8SDoug Rabson
1148c19800e8SDoug Rabson	* *.[ch]: use ASN1_TAILQ macros
1149c19800e8SDoug Rabson
1150c19800e8SDoug Rabson	* asn1_queue.h: inline bsd sys/queue.h and rename TAILQ to
1151c19800e8SDoug Rabson	ASN1_TAILQ to avoid problems with name polluting headerfiles
1152c19800e8SDoug Rabson
1153c19800e8SDoug Rabson2005-01-19  Love Hörnquist Åstrand  <lha@it.su.se>
1154c19800e8SDoug Rabson
1155c19800e8SDoug Rabson	* gen.c: pull in <krb5-types.h>
1156c19800e8SDoug Rabson
1157c19800e8SDoug Rabson2005-01-10  Love Hörnquist Åstrand  <lha@it.su.se>
1158c19800e8SDoug Rabson
1159c19800e8SDoug Rabson	* Add BMPString and UniversalString
1160c19800e8SDoug Rabson
1161c19800e8SDoug Rabson	* k5.asn1 (EtypeList): make INTEGER constrained (use krb5int32)
1162c19800e8SDoug Rabson
1163c19800e8SDoug Rabson2005-01-07  Love Hörnquist Åstrand  <lha@it.su.se>
1164c19800e8SDoug Rabson
1165c19800e8SDoug Rabson	* rfc2459.asn1: add GeneralNames
1166c19800e8SDoug Rabson
1167c19800e8SDoug Rabson2004-11-21  Love Hörnquist Åstrand  <lha@it.su.se>
1168c19800e8SDoug Rabson
1169c19800e8SDoug Rabson	* gen.c: use unsigned integer for len of SequenceOf/SetOf and
1170c19800e8SDoug Rabson	bitstring names
1171c19800e8SDoug Rabson
1172c19800e8SDoug Rabson2004-11-10  Love Hörnquist Åstrand  <lha@it.su.se>
1173c19800e8SDoug Rabson
1174c19800e8SDoug Rabson	* Makefile.am: switch to krb5int32 and krb5uint32
1175c19800e8SDoug Rabson
1176c19800e8SDoug Rabson	* Unify that three integer types TInteger TUInteger and TBigInteger.
1177c19800e8SDoug Rabson	Start to use constrained integers where appropriate.
1178c19800e8SDoug Rabson
1179c19800e8SDoug Rabson2004-10-13  Love Hörnquist Åstrand  <lha@it.su.se>
1180c19800e8SDoug Rabson
1181c19800e8SDoug Rabson	* CMS.asn1: remove no longer used commented out elements
1182c19800e8SDoug Rabson
1183c19800e8SDoug Rabson	* gen_glue.c: make units structures const
1184c19800e8SDoug Rabson
1185c19800e8SDoug Rabson2004-10-12  Love Hörnquist Åstrand  <lha@it.su.se>
1186c19800e8SDoug Rabson
1187c19800e8SDoug Rabson	* lex.l: handle hex number with [a-fA-F] in them
1188c19800e8SDoug Rabson
1189c19800e8SDoug Rabson2004-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
1190c19800e8SDoug Rabson
1191c19800e8SDoug Rabson	* gen_free.c: free _save for CHOICE too
1192c19800e8SDoug Rabson
1193c19800e8SDoug Rabson	* rfc2459.asn1: use Name and not heim_any
1194c19800e8SDoug Rabson
1195c19800e8SDoug Rabson	* gen_decode.c: if malloc for _save failes, goto fail so we free
1196c19800e8SDoug Rabson	the structure
1197c19800e8SDoug Rabson
1198c19800e8SDoug Rabson	* gen_copy.c: copy _save for CHOICE too
1199c19800e8SDoug Rabson
1200c19800e8SDoug Rabson	* gen.c: add _save for CHOICE too
1201c19800e8SDoug Rabson
1202c19800e8SDoug Rabson	* CMS.asn1: RecipientIdentifier and SignerIdentifier is the same
1203c19800e8SDoug Rabson	name is CMSIdentifier and add glue for that so we can share code
1204c19800e8SDoug Rabson	use Name and not heim_any
1205c19800e8SDoug Rabson
1206c19800e8SDoug Rabson2004-10-03  Love Hörnquist Åstrand  <lha@it.su.se>
1207c19800e8SDoug Rabson
1208c19800e8SDoug Rabson	* Makefile.am: drop AlgorithmIdentifierNonOpt add
1209c19800e8SDoug Rabson	{RC2CBC,}CBCParameter here where they belong
1210c19800e8SDoug Rabson
1211c19800e8SDoug Rabson	* CMS.asn1: add {RC2CBC,}CBCParameter here where they belong
1212c19800e8SDoug Rabson
1213c19800e8SDoug Rabson	* rfc2459.asn1: drop AlgorithmIdentifierNonOpt
1214c19800e8SDoug Rabson
1215c19800e8SDoug Rabson	* rfc2459.asn1: stop using AlgorithmIdentifierNonOpt hint that we
1216c19800e8SDoug Rabson	really want to use Name and some MS stuff
1217c19800e8SDoug Rabson
1218c19800e8SDoug Rabson2004-09-05  Love Hörnquist Åstrand  <lha@it.su.se>
1219c19800e8SDoug Rabson
1220c19800e8SDoug Rabson	* asn1_print.c: handle end of content, this is part BER support,
1221c19800e8SDoug Rabson	however, OCTET STRING need some tweeking too.
1222c19800e8SDoug Rabson
1223c19800e8SDoug Rabson	* der.h: add UT_EndOfContent
1224c19800e8SDoug Rabson
1225c19800e8SDoug Rabson	* test.asn1: test asn1 spec file
1226c19800e8SDoug Rabson
1227c19800e8SDoug Rabson	* check-gen.c: check larget tags
1228c19800e8SDoug Rabson
1229c19800e8SDoug Rabson	* Makefile.am: add test asn1 spec file that we can use for testing
1230c19800e8SDoug Rabson	constructs that doesn't exists in already existing spec (like
1231c19800e8SDoug Rabson	large tags)
1232c19800e8SDoug Rabson
1233c19800e8SDoug Rabson	* der_put.c (der_put_tag): make sure there are space for the head
1234c19800e8SDoug Rabson	tag when we are dealing with large tags (>30)
1235c19800e8SDoug Rabson
1236c19800e8SDoug Rabson	* check-gen.c: add test for tag length
1237c19800e8SDoug Rabson
1238c19800e8SDoug Rabson	* check-common.c: export the map_ functions for OVERRUN/UNDERRUN
1239c19800e8SDoug Rabson	detection restore the SIGSEGV handler when test is done
1240c19800e8SDoug Rabson
1241c19800e8SDoug Rabson	* check-common.h: export the map_ functions for OVERRUN/UNDERRUN
1242c19800e8SDoug Rabson	detection
1243c19800e8SDoug Rabson
1244c19800e8SDoug Rabson	* gen_decode.c: check that the tag-length is not longer the length
1245c19800e8SDoug Rabson	use forwstr on some more places
1246c19800e8SDoug Rabson
1247c19800e8SDoug Rabson	* parse.y: revert part of 1.14.2.21, multiple IMPORT isn't allowed
1248c19800e8SDoug Rabson
1249c19800e8SDoug Rabson	* pkinit.asn1: correct usage of IMPORT
1250c19800e8SDoug Rabson
1251c19800e8SDoug Rabson	* CMS.asn1: correct usage of IMPORT
1252c19800e8SDoug Rabson
1253c19800e8SDoug Rabson	* pkcs8.asn1: pkcs8, encrypting private key
1254c19800e8SDoug Rabson
1255c19800e8SDoug Rabson	* pkcs12.asn1: pkcs12, key/crl/certificate file transport PDU
1256c19800e8SDoug Rabson
1257c19800e8SDoug Rabson	* Makefile.am: add pkcs8 and pkcs12
1258c19800e8SDoug Rabson
1259c19800e8SDoug Rabson	* der_free.c: reset length when freing primitives
1260c19800e8SDoug Rabson
1261c19800e8SDoug Rabson	* CMS.asn1: add EncryptedData
1262c19800e8SDoug Rabson
1263c19800e8SDoug Rabson2004-08-26  Love Hörnquist Åstrand  <lha@it.su.se>
1264c19800e8SDoug Rabson
1265c19800e8SDoug Rabson	* gen_decode.c (decode_type): if the entry is already optional
1266c19800e8SDoug Rabson	when parsing a tag and we allocate the structure, not pass down
1267c19800e8SDoug Rabson	optional since that will case the subtype's decode_type also to
1268c19800e8SDoug Rabson	allocate an entry. and we'll leak an entry. Bug from Luke Howard
1269c19800e8SDoug Rabson	<lukeh@padl.com>. While here, use calloc.
1270c19800e8SDoug Rabson
1271c19800e8SDoug Rabson2004-04-29  Love Hörnquist Åstrand  <lha@it.su.se>
1272c19800e8SDoug Rabson
1273c19800e8SDoug Rabson	* k5.asn1: shift the last added etypes one step so rc2 doesn't
1274c19800e8SDoug Rabson	stomp on cram-md5
1275c19800e8SDoug Rabson
1276c19800e8SDoug Rabson2004-04-26  Love Hörnquist Åstrand  <lha@it.su.se>
1277c19800e8SDoug Rabson
1278c19800e8SDoug Rabson	* k5.asn1: add ETYPE_AESNNN_CBC_NONE
1279c19800e8SDoug Rabson
1280c19800e8SDoug Rabson	* CMS.asn1: add CMS symmetrical parameters moved to k5.asn1
1281c19800e8SDoug Rabson
1282c19800e8SDoug Rabson	* k5.asn1: add CMS symmetrical parameters here, more nametypes
1283c19800e8SDoug Rabson	enctype rc2-cbc
1284c19800e8SDoug Rabson
1285c19800e8SDoug Rabson2004-04-25  Love Hörnquist Åstrand  <lha@it.su.se>
1286c19800e8SDoug Rabson
1287c19800e8SDoug Rabson	* gen_decode.c: free data on decode failure
1288c19800e8SDoug Rabson
1289c19800e8SDoug Rabson2004-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
1290c19800e8SDoug Rabson
1291c19800e8SDoug Rabson	* Makefile.am: add CBCParameter and RC2CBCParameter
1292c19800e8SDoug Rabson
1293c19800e8SDoug Rabson	* CMS.asn1: add CBCParameter and RC2CBCParameter
1294c19800e8SDoug Rabson
1295c19800e8SDoug Rabson2004-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
1296c19800e8SDoug Rabson
1297c19800e8SDoug Rabson	* check-der.c: add simple test for oid's, used to trigger malloc
1298c19800e8SDoug Rabson	bugs in you have picky malloc (like valgrind/purify/third)
1299c19800e8SDoug Rabson
1300c19800e8SDoug Rabson	* der_get.c (der_get_oid): handle all oid components being smaller
1301c19800e8SDoug Rabson	then 127 and allocate one extra element since first byte is split
1302c19800e8SDoug Rabson	to to elements.
1303c19800e8SDoug Rabson
1304c19800e8SDoug Rabson2004-04-16  Love Hörnquist Åstrand  <lha@it.su.se>
1305c19800e8SDoug Rabson
1306c19800e8SDoug Rabson	* canthandle.asn1: one thing handled
1307c19800e8SDoug Rabson
1308c19800e8SDoug Rabson	* gen_decode.c: handle OPTIONAL CONS-tag-less elements
1309c19800e8SDoug Rabson
1310c19800e8SDoug Rabson	* der_length.c (length_len): since length is no longer the same as
1311c19800e8SDoug Rabson	an unsigned, do the length counting here. ("unsigned" is zero
1312c19800e8SDoug Rabson	padded when most significate bit is set, length is not)
1313c19800e8SDoug Rabson
1314c19800e8SDoug Rabson2004-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
1315c19800e8SDoug Rabson
1316c19800e8SDoug Rabson	* canthandle.asn1: document by example what the encoder can't
1317c19800e8SDoug Rabson	handle right now
1318c19800e8SDoug Rabson
1319c19800e8SDoug Rabson	* Makefile.am: add more stuff needed whem implementing x509
1320c19800e8SDoug Rabson	preserve TBSCertificate
1321c19800e8SDoug Rabson
1322c19800e8SDoug Rabson	* rfc2459.asn1: add more stuff needed whem implementing x509
1323c19800e8SDoug Rabson
1324c19800e8SDoug Rabson	* CMS.asn1: move some type to rfc2459.asn1 where they belong (and
1325c19800e8SDoug Rabson	import them)
1326c19800e8SDoug Rabson
1327c19800e8SDoug Rabson	* gen.c: preserve the raw data when asked too
1328c19800e8SDoug Rabson
1329c19800e8SDoug Rabson	* gen_decode.c: preserve the raw data when asked too
1330c19800e8SDoug Rabson
1331c19800e8SDoug Rabson	* gen_copy.c: preserve the raw data when asked too
1332c19800e8SDoug Rabson
1333c19800e8SDoug Rabson	* gen_free.c: preserve the raw data when asked too
1334c19800e8SDoug Rabson
1335c19800e8SDoug Rabson	* gen_locl.h: add preserve_type
1336c19800e8SDoug Rabson
1337c19800e8SDoug Rabson	* heim_asn1.h: add heim_any_cmp
1338c19800e8SDoug Rabson
1339c19800e8SDoug Rabson	* main.c: add flag --preserve-binary=Symbol1,Symbol2,... that make
1340c19800e8SDoug Rabson	the compiler generate stubs to save the raw data, its not used
1341c19800e8SDoug Rabson	right now when generating the stat
1342c19800e8SDoug Rabson
1343c19800e8SDoug Rabson	* k5.asn1: Windows uses PADATA 15 for the request too
1344c19800e8SDoug Rabson
1345c19800e8SDoug Rabson	* extra.c: add heim_any_cmp
1346c19800e8SDoug Rabson
1347c19800e8SDoug Rabson	* der_put.c: implement UTCtime correctly
1348c19800e8SDoug Rabson
1349c19800e8SDoug Rabson	* der_locl.h: remove #ifdef HAVE_TIMEGM\ntimegm\n#endif here from
1350c19800e8SDoug Rabson	der.h so one day der.h can get installed
1351c19800e8SDoug Rabson
1352c19800e8SDoug Rabson	* der_length.c: implement UTCtime correctly
1353c19800e8SDoug Rabson
1354c19800e8SDoug Rabson	* der_get.c: implement UTCtime correctly, prefix dce_fix with
1355c19800e8SDoug Rabson	_heim_fix
1356c19800e8SDoug Rabson
1357c19800e8SDoug Rabson	* der_copy.c: make copy_bit_string work again
1358c19800e8SDoug Rabson
1359c19800e8SDoug Rabson	* der_cmp.c: add octet_string, integer, bit_string cmp functions
1360c19800e8SDoug Rabson
1361c19800e8SDoug Rabson	* der.h: hide away more symbols, add more _cmp functions
1362c19800e8SDoug Rabson
1363c19800e8SDoug Rabson2004-03-06  Love Hörnquist Åstrand  <lha@it.su.se>
1364c19800e8SDoug Rabson
1365c19800e8SDoug Rabson	* Makefile.am: add more pkix types make k5 use rfc150 bitstrings,
1366c19800e8SDoug Rabson	everything else use der bitstrings
1367c19800e8SDoug Rabson
1368c19800e8SDoug Rabson	* main.c: as a compile time option, handle no rfc1510 bitstrings
1369c19800e8SDoug Rabson
1370c19800e8SDoug Rabson	* gen_locl.h: rfc1510 bitstrings flag
1371c19800e8SDoug Rabson
1372c19800e8SDoug Rabson	* gen_length.c: as a compile time option, handle no rfc1510
1373c19800e8SDoug Rabson	bitstrings
1374c19800e8SDoug Rabson
1375c19800e8SDoug Rabson	* gen_encode.c: as a compile time option, handle no rfc1510
1376c19800e8SDoug Rabson	bitstrings
1377c19800e8SDoug Rabson
1378c19800e8SDoug Rabson	* gen_decode.c: handle no rfc1510 bitstrings
1379c19800e8SDoug Rabson
1380c19800e8SDoug Rabson	* check-gen.c: test for bitstrings
1381c19800e8SDoug Rabson
1382c19800e8SDoug Rabson	* rfc2459.asn1: add Certificates and KeyUsage
1383c19800e8SDoug Rabson
1384c19800e8SDoug Rabson2004-02-22  Love Hörnquist Åstrand  <lha@it.su.se>
1385c19800e8SDoug Rabson
1386c19800e8SDoug Rabson	* pkinit.asn1: use Name from PKIX
1387c19800e8SDoug Rabson
1388c19800e8SDoug Rabson	* rfc2459.asn1: add more silly string types to DirectoryString
1389c19800e8SDoug Rabson
1390c19800e8SDoug Rabson	* gen_encode.c: add checks for data overflow when encoding
1391c19800e8SDoug Rabson	TBitString with members encode SET OF correctly by bytewise
1392c19800e8SDoug Rabson	sorting the members
1393c19800e8SDoug Rabson
1394c19800e8SDoug Rabson	* gen_decode.c: add checks for data overrun when encoding
1395c19800e8SDoug Rabson	TBitString with members
1396c19800e8SDoug Rabson
1397c19800e8SDoug Rabson	* der_put.c: add _heim_der_set_sort
1398c19800e8SDoug Rabson
1399c19800e8SDoug Rabson	* der_cmp.c: rename oid_cmp to heim_oid_cmp
1400c19800e8SDoug Rabson
1401c19800e8SDoug Rabson	* der.h: rename oid_cmp to heim_oid_cmp, add _heim_der_set_sort
1402c19800e8SDoug Rabson
1403c19800e8SDoug Rabson	* check-gen.c: add check for Name and (commented out) heim_integer
1404c19800e8SDoug Rabson
1405c19800e8SDoug Rabson	* check-der.c: test for "der_length.c: Fix len_unsigned for
1406c19800e8SDoug Rabson	certain negative integers, it got the length wrong" , from
1407c19800e8SDoug Rabson	Panasas, Inc.
1408c19800e8SDoug Rabson
1409c19800e8SDoug Rabson	* der_length.c: Fix len_unsigned for certain negative integers, it
1410c19800e8SDoug Rabson	got the length wrong, fix from Panasas, Inc.
1411c19800e8SDoug Rabson
1412c19800e8SDoug Rabson	rename len_int and len_unsigned to _heim_\&
1413c19800e8SDoug Rabson
1414c19800e8SDoug Rabson	* gen_length.c: 1.14: (length_type): TSequenceOf: add up the size
1415c19800e8SDoug Rabson	of all the elements, don't use just the size of the last element.
1416c19800e8SDoug Rabson
1417c19800e8SDoug Rabson2004-02-20  Love Hörnquist Åstrand  <lha@it.su.se>
1418c19800e8SDoug Rabson
1419c19800e8SDoug Rabson	* rfc2459.asn1: include defintion of Name
1420c19800e8SDoug Rabson
1421c19800e8SDoug Rabson	* pkinit.asn1: no need for ContentType, its cms internal
1422c19800e8SDoug Rabson
1423c19800e8SDoug Rabson	* CMS.asn1: move ContentInfo to CMS
1424c19800e8SDoug Rabson
1425c19800e8SDoug Rabson	* pkinit.asn1: update to pk-init-18, move ContentInfo to CMS
1426c19800e8SDoug Rabson
1427c19800e8SDoug Rabson	* Makefile.am: align with pk-init-18, move contentinfo to cms
1428c19800e8SDoug Rabson
1429c19800e8SDoug Rabson2004-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
1430c19800e8SDoug Rabson
1431c19800e8SDoug Rabson	* der_get.c: rewrite previous commit
1432c19800e8SDoug Rabson
1433c19800e8SDoug Rabson	* der_get.c (der_get_heim_integer): handle positive integer
1434c19800e8SDoug Rabson	starting with 0
1435c19800e8SDoug Rabson
1436c19800e8SDoug Rabson	* der_length.c (der_put_heim_integer): try handle negative
1437c19800e8SDoug Rabson	integers better (?)
1438c19800e8SDoug Rabson
1439c19800e8SDoug Rabson	* der_put.c (der_put_heim_integer): try handle negative integers
1440c19800e8SDoug Rabson	better
1441c19800e8SDoug Rabson
1442c19800e8SDoug Rabson	* der_get.c (der_get_heim_integer): dont abort on negative integer just
1443c19800e8SDoug Rabson	return ASN1_OVERRUN for now
1444c19800e8SDoug Rabson
1445c19800e8SDoug Rabson	* parse.y: add ia5string, and printablestring
1446c19800e8SDoug Rabson
1447c19800e8SDoug Rabson	* gen_length.c: add ia5string, and printablestring
1448c19800e8SDoug Rabson
1449c19800e8SDoug Rabson	* gen_free.c: add ia5string, and printablestring
1450c19800e8SDoug Rabson
1451c19800e8SDoug Rabson	* gen_decode.c: add ia5string, and printablestring
1452c19800e8SDoug Rabson
1453c19800e8SDoug Rabson	* gen_copy.c: add ia5string, and printablestring
1454c19800e8SDoug Rabson
1455c19800e8SDoug Rabson	* gen.c: add ia5string, printablestring, and utf8string change
1456c19800e8SDoug Rabson	implemetation of heim_integer and store the data as bigendian byte
1457c19800e8SDoug Rabson	array with a external flag for signedness
1458c19800e8SDoug Rabson
1459c19800e8SDoug Rabson	* der_put.c: add ia5string, printablestring, and utf8string change
1460c19800e8SDoug Rabson	implemetation of heim_integer and store the data as bigendian byte
1461c19800e8SDoug Rabson	array with a external flag for signedness
1462c19800e8SDoug Rabson
1463c19800e8SDoug Rabson	* der_length.c: add ia5string, printablestring, and utf8string
1464c19800e8SDoug Rabson	change implemetation of heim_integer and store the data as
1465c19800e8SDoug Rabson	bigendian byte array with a external flag for signedness
1466c19800e8SDoug Rabson
1467c19800e8SDoug Rabson	* der_get.c: add ia5string, printablestring, and utf8string change
1468c19800e8SDoug Rabson	implemetation of heim_integer and store the data as bigendian byte
1469c19800e8SDoug Rabson	array with a external flag for signedness
1470c19800e8SDoug Rabson
1471c19800e8SDoug Rabson	* der_free.c: add ia5string, printablestring, and utf8string
1472c19800e8SDoug Rabson
1473c19800e8SDoug Rabson	* der_copy.c: add ia5string, printablestring, and utf8string
1474c19800e8SDoug Rabson
1475c19800e8SDoug Rabson	* der.h: add ia5string, printablestring, and utf8string
1476c19800e8SDoug Rabson
1477c19800e8SDoug Rabson	* asn1-common.h: add signedness flag to heim_integer, add
1478c19800e8SDoug Rabson	ia5string and printablestring
1479c19800e8SDoug Rabson
1480c19800e8SDoug Rabson2004-02-13  Love Hörnquist Åstrand  <lha@it.su.se>
1481c19800e8SDoug Rabson
1482c19800e8SDoug Rabson	* rfc2459.asn1: use BIGINTEGER where appropriate
1483c19800e8SDoug Rabson
1484c19800e8SDoug Rabson	* setchgpw2.asn1: spelling and add op-req again
1485c19800e8SDoug Rabson
1486c19800e8SDoug Rabson2004-02-12  Love Hörnquist Åstrand  <lha@it.su.se>
1487c19800e8SDoug Rabson
1488c19800e8SDoug Rabson	* Makefile.am: clean up better
1489c19800e8SDoug Rabson
1490c19800e8SDoug Rabson2004-02-11  Love Hörnquist Åstrand  <lha@it.su.se>
1491c19800e8SDoug Rabson
1492c19800e8SDoug Rabson	* gen_decode.c (decode_type): TTag, don't overshare the reallen
1493c19800e8SDoug Rabson	variable
1494c19800e8SDoug Rabson
1495c19800e8SDoug Rabson	* Makefile.am: adapt to log file name change
1496c19800e8SDoug Rabson
1497c19800e8SDoug Rabson	* gen.c: genereate log file name based on base name
1498c19800e8SDoug Rabson
1499c19800e8SDoug Rabson2003-11-26  Love Hörnquist Åstrand  <lha@it.su.se>
1500c19800e8SDoug Rabson
1501c19800e8SDoug Rabson	* Makefile.am: += asn1_AlgorithmIdentifierNonOpt.x
1502c19800e8SDoug Rabson
1503c19800e8SDoug Rabson	* rfc2459.asn1: add AlgorithmIdentifierNonOpt and use it where
1504c19800e8SDoug Rabson	it's needed, make DomainParameters.validationParms heim_any as a
1505c19800e8SDoug Rabson	hack. Both are workarounds for the problem with heimdal's asn1
1506c19800e8SDoug Rabson	compiler have with decoing context tagless OPTIONALs.
1507c19800e8SDoug Rabson
1508c19800e8SDoug Rabson	* pkinit.asn1: don't import AlgorithmIdentifier
1509c19800e8SDoug Rabson
1510c19800e8SDoug Rabson2003-11-25  Love Hörnquist Åstrand  <lha@it.su.se>
1511c19800e8SDoug Rabson
1512c19800e8SDoug Rabson	* der_put.c (der_put_bit_string): make it work somewhat better
1513c19800e8SDoug Rabson	(should really prune off all trailing zeros)
1514c19800e8SDoug Rabson
1515c19800e8SDoug Rabson	* gen_encode.c (encode_type): bit string is not a constructed type
1516c19800e8SDoug Rabson
1517c19800e8SDoug Rabson	* der_length.c (length_bit_string): calculate right length for
1518c19800e8SDoug Rabson	bitstrings
1519c19800e8SDoug Rabson
1520c19800e8SDoug Rabson2003-11-24  Love Hörnquist Åstrand  <lha@it.su.se>
1521c19800e8SDoug Rabson
1522c19800e8SDoug Rabson	* der_cmp.c (oid_cmp): compare the whole array, not just
1523c19800e8SDoug Rabson	length/sizeof(component)
1524c19800e8SDoug Rabson
1525c19800e8SDoug Rabson	* check-common.c: mmap the scratch areas, mprotect before and
1526c19800e8SDoug Rabson	after, align data to the edge of the mprotect()ed area to provoke
1527c19800e8SDoug Rabson	bugs
1528c19800e8SDoug Rabson
1529c19800e8SDoug Rabson	* Makefile.am: add DomainParameters, ValidationParms
1530c19800e8SDoug Rabson
1531c19800e8SDoug Rabson	* rfc2459.asn1: add DomainParameters, ValidationParms
1532c19800e8SDoug Rabson
1533c19800e8SDoug Rabson	* check-der.c: add free function
1534c19800e8SDoug Rabson
1535c19800e8SDoug Rabson	* check-common.h: add free function
1536c19800e8SDoug Rabson
1537c19800e8SDoug Rabson	* check-common.c: add free function
1538c19800e8SDoug Rabson
1539c19800e8SDoug Rabson	* check-gen.c: check KRB-ERROR
1540c19800e8SDoug Rabson
1541c19800e8SDoug Rabson	* asn1_print.c: check end of tag_names loop into APPL class tags
1542c19800e8SDoug Rabson
1543c19800e8SDoug Rabson2003-11-23  Love Hörnquist Åstrand  <lha@it.su.se>
1544c19800e8SDoug Rabson
1545c19800e8SDoug Rabson	* der_put.c (der_put_generalized_time): check size, not *size
1546c19800e8SDoug Rabson
1547c19800e8SDoug Rabson2003-11-11  Love Hörnquist Åstrand  <lha@it.su.se>
1548c19800e8SDoug Rabson
1549c19800e8SDoug Rabson	* gen_decode.c (decode_type/TBitString): skip over
1550c19800e8SDoug Rabson	skipped-bits-in-last-octet octet
1551c19800e8SDoug Rabson
1552c19800e8SDoug Rabson	* gen_glue.c (generate_units): generate units in reverse order to
1553c19800e8SDoug Rabson	keep unparse_units happy
1554c19800e8SDoug Rabson
1555c19800e8SDoug Rabson2003-11-08  Love Hörnquist Åstrand  <lha@it.su.se>
1556c19800e8SDoug Rabson
1557c19800e8SDoug Rabson	* Makefile.am: generate all silly pkinit files
1558c19800e8SDoug Rabson
1559c19800e8SDoug Rabson	* pkinit.asn1: make it work again, add strange ms structures
1560c19800e8SDoug Rabson
1561c19800e8SDoug Rabson	* k5.asn1: PROV-SRV-LOCATION, PacketCable provisioning server
1562c19800e8SDoug Rabson	location, PKT-SP-SEC-I09-030728
1563c19800e8SDoug Rabson
1564c19800e8SDoug Rabson	* asn1-common.h: add bit string
1565c19800e8SDoug Rabson
1566c19800e8SDoug Rabson	* der_put.c: add bit string and utctime
1567c19800e8SDoug Rabson
1568c19800e8SDoug Rabson	* gen.c: add bit string and utctime
1569c19800e8SDoug Rabson
1570c19800e8SDoug Rabson	* gen_copy.c: add bit string and utctime
1571c19800e8SDoug Rabson
1572c19800e8SDoug Rabson	* der_copy.c: add bit string
1573c19800e8SDoug Rabson
1574c19800e8SDoug Rabson	* gen_decode.c: add utctime and bitstring
1575c19800e8SDoug Rabson
1576c19800e8SDoug Rabson	* gen_encode.c: add utctime and bitstring
1577c19800e8SDoug Rabson
1578c19800e8SDoug Rabson	* gen_free.c: add utctime and bitstring
1579c19800e8SDoug Rabson
1580c19800e8SDoug Rabson	* gen_glue.c: don't generate glue for member-less bit strings
1581c19800e8SDoug Rabson
1582c19800e8SDoug Rabson	* der_cmp.c: compare function for oids
1583c19800e8SDoug Rabson
1584c19800e8SDoug Rabson	* gen_length.c: add utc time, make bit string work for bits
1585c19800e8SDoug Rabson	strings w/o any members
1586c19800e8SDoug Rabson
1587c19800e8SDoug Rabson	* der_cmp.c: compare function for oids
1588c19800e8SDoug Rabson
1589c19800e8SDoug Rabson	* der.h: update boolean prototypes add utctime and bit_string
1590c19800e8SDoug Rabson
1591c19800e8SDoug Rabson	* der_free.c: add free_bit_string
1592c19800e8SDoug Rabson
1593c19800e8SDoug Rabson	* der_get.c: add bit string and utctime
1594c19800e8SDoug Rabson
1595c19800e8SDoug Rabson	* der_length.c: add bit string and utctime, fix memory leak in
1596c19800e8SDoug Rabson	length_generalized_time
1597c19800e8SDoug Rabson
1598c19800e8SDoug Rabson	* CMS.asn1: make EncryptedContentInfo.encryptedContent a OCTET
1599c19800e8SDoug Rabson	STRING to make the generator do the right thing with IMPLICIT
1600c19800e8SDoug Rabson	mumble OPTIONAL, make CertificateSet a heim_any_set
1601c19800e8SDoug Rabson
1602c19800e8SDoug Rabson	* extra.c, heim_asn1.h: add any_set, instead of just consuming one
1603c19800e8SDoug Rabson	der object, its consumes the rest of the data avaible
1604c19800e8SDoug Rabson
1605c19800e8SDoug Rabson	* extra.c, heim_asn1.h: extern implementation of ANY, decoder
1606c19800e8SDoug Rabson	needs to have hack removed when generator handles tagless optional
1607c19800e8SDoug Rabson	data
1608c19800e8SDoug Rabson
1609c19800e8SDoug Rabson	* pkinit.asn1: add KdcDHKeyInfo-Win2k
1610c19800e8SDoug Rabson
1611c19800e8SDoug Rabson2003-11-07  Love Hörnquist Åstrand  <lha@it.su.se>
1612c19800e8SDoug Rabson
1613c19800e8SDoug Rabson	* der_copy.c (copy_oid): copy all components
1614c19800e8SDoug Rabson
1615c19800e8SDoug Rabson	* parse.y: parse UTCTime, allow multiple IMPORT
1616c19800e8SDoug Rabson
1617c19800e8SDoug Rabson	* symbol.h: add TUTCTime
1618c19800e8SDoug Rabson
1619c19800e8SDoug Rabson	* rfc2459.asn1: update
1620c19800e8SDoug Rabson
1621c19800e8SDoug Rabson	* x509.asn1: update
1622c19800e8SDoug Rabson
1623c19800e8SDoug Rabson	* pkinit.asn1: update
1624c19800e8SDoug Rabson
1625c19800e8SDoug Rabson	* CMS.asn1: new file
1626c19800e8SDoug Rabson
1627c19800e8SDoug Rabson	* asn1_print.c: print some more lengths, check length before
1628c19800e8SDoug Rabson	steping out in the void, parse SET, only go down CONTEXT of type
1629c19800e8SDoug Rabson	CONS (not PRIM)
1630c19800e8SDoug Rabson
1631c19800e8SDoug Rabson2003-09-17  Love Hörnquist Åstrand  <lha@it.su.se>
1632c19800e8SDoug Rabson
1633c19800e8SDoug Rabson	* gen_encode.c (TChoice, TSequence): code element in reverse
1634c19800e8SDoug Rabson	order...
1635c19800e8SDoug Rabson
1636c19800e8SDoug Rabson2003-09-16  Love Hörnquist Åstrand  <lha@it.su.se>
1637c19800e8SDoug Rabson
1638c19800e8SDoug Rabson	* gen.c: store NULL's as int's for now
1639c19800e8SDoug Rabson
1640c19800e8SDoug Rabson	* parse.y: remove dup of type def of UsefulType
1641c19800e8SDoug Rabson
1642c19800e8SDoug Rabson2003-09-11  Love Hörnquist Åstrand  <lha@it.su.se>
1643c19800e8SDoug Rabson
1644c19800e8SDoug Rabson	* gen_decode.c (decode_type): if malloc failes, return ENOMEM
1645c19800e8SDoug Rabson
1646c19800e8SDoug Rabson2003-09-10  Love Hörnquist Åstrand  <lha@it.su.se>
1647c19800e8SDoug Rabson
1648c19800e8SDoug Rabson	* parse.y: kw_UTF8String is a token put tag around the OID
1649c19800e8SDoug Rabson
1650	* asn1_print.c (UT_Integer): when the integer is larger then int
1651	can handle, just print BIG INT and its size
1652
16532003-09-10  Love Hörnquist Åstrand  <lha@it.su.se>
1654
1655	* gen_decode.c (decode_type): TTag, try to generate prettier code
1656	in the non optional case, also remember to update length
1657
16582003-01-22  Johan Danielsson  <joda@pdc.kth.se>
1659
1660	* gen_decode.c: add flag to decode broken DCE BER encoding
1661
1662	* gen_locl.h: add flag to decode broken DCE BER encoding
1663
1664	* main.c: add flag to decode broken DCE BER encoding
1665
1666