1233294Sstas2008-04-09  Love H��rnquist ��strand  <lha@it.su.se>
2178825Sdfr
3233294Sstas	* pkinit.asn1: add id-pkinit-kdf
4233294Sstas
5233294Sstas	* pkinit.asn1: add PkinitSP80056AOtherInfo
6233294Sstas
7233294Sstas2008-04-07  Love H��rnquist ��strand  <lha@it.su.se>
8233294Sstas
9233294Sstas	* gen.c: Use unsigned where appropriate.
10233294Sstas
11233294Sstas2008-03-22  Love H��rnquist ��strand  <lha@it.su.se>
12233294Sstas
13233294Sstas	* k5.asn1: Match name in ClientCanonicalizedNames with -10
14233294Sstas
15233294Sstas	* k5.asn1: add referral-valid-until
16233294Sstas
17233294Sstas2008-01-13  Love H��rnquist ��strand  <lha@it.su.se>
18233294Sstas
19178825Sdfr	* asn1-common.h gen.c der.c gen_encode.c: add and use der_{malloc,free}
20178825Sdfr
21233294Sstas2007-12-13  Love H��rnquist ��strand  <lha@it.su.se>
22178825Sdfr
23178825Sdfr	* libasn1.h: remove, not used.
24178825Sdfr
25233294Sstas2007-12-04  Love H��rnquist ��strand  <lha@it.su.se>
26178825Sdfr
27178825Sdfr	* Makefile.am: Add DigestTypes, add --seq to antoher type.
28178825Sdfr
29178825Sdfr	* digest.asn1: Add supportedMechs request.
30178825Sdfr
31233294Sstas2007-10-18  Love H��rnquist ��strand  <lha@it.su.se>
32233294Sstas
33178825Sdfr	* k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
34178825Sdfr
35233294Sstas2007-07-23  Love H��rnquist ��strand  <lha@it.su.se>
36233294Sstas
37178825Sdfr	* Makefile.am: Fold in pk-init-alg-agilty.
38178825Sdfr
39178825Sdfr	* pkinit.asn1: Fold in pk-init-alg-agilty.
40178825Sdfr
41233294Sstas2007-07-16  Love H��rnquist ��strand  <lha@it.su.se>
42178825Sdfr
43178825Sdfr	* parse.y: Passe object id is its part of the module defintion
44178825Sdfr	statement.
45178825Sdfr
46233294Sstas2007-07-14  Love H��rnquist ��strand  <lha@it.su.se>
47178825Sdfr
48178825Sdfr	* check-gen.c: test SEQ OF SIZE (...)
49178825Sdfr
50178825Sdfr	* Makefile.am: Include more sizeof tests.
51178825Sdfr
52233294Sstas2007-07-12  Love H��rnquist ��strand  <lha@it.su.se>
53178825Sdfr
54178825Sdfr	* try to avoid aliasing of pointers enum {} vs int
55178825Sdfr
56233294Sstas2007-07-10  Love H��rnquist ��strand  <lha@it.su.se>
57178825Sdfr
58178825Sdfr	* test.asn1: Test SIZE attribute for SEQ and OCTET STRING
59178825Sdfr
60178825Sdfr	* parse.y (OctetStringType): add SIZE to OCTET STRING.
61178825Sdfr
62178825Sdfr	* Makefile.am: New library version.
63178825Sdfr
64233294Sstas2007-07-02  Love H��rnquist ��strand  <lha@it.su.se>
65178825Sdfr
66233294Sstas	* rfc2459.asn1: Re-add size limits.
67233294Sstas
68178825Sdfr	* k5.asn1: Add size limits from RFC 4120.
69178825Sdfr
70178825Sdfr	* gen_decode.c: Check range on SEQ OF and OCTET STRING.
71178825Sdfr
72178825Sdfr	* asn1_err.et (min|max|exact) constraints.
73178825Sdfr
74178825Sdfr	* parse.y: Parse size limitations to SEQ OF.
75178825Sdfr
76233294Sstas2007-06-28  Love H��rnquist ��strand  <lha@it.su.se>
77178825Sdfr
78178825Sdfr	* Makefile.am: Add AuthorityInfoAccessSyntax.
79178825Sdfr
80178825Sdfr	* rfc2459.asn1: Add AuthorityInfoAccessSyntax.
81178825Sdfr
82178825Sdfr	* rfc2459.asn1: Add authorityInfoAccess, rename proxyCertInfo.
83233294Sstas
84178825Sdfr	* Makefile.am: Add authorityInfoAccess, rename proxyCertInfo.
85178825Sdfr
86233294Sstas2007-06-27  Love H��rnquist ��strand  <lha@it.su.se>
87178825Sdfr
88178825Sdfr	* der_get.c (der_get_time): avoid using wrapping of octet_string
89178825Sdfr	and realloc.
90178825Sdfr
91178825Sdfr	* der_get.c: No need to undef timetm, we don't use it any more.
92178825Sdfr
93178825Sdfr	* timegm.c: Fix spelling caused by too much query-replace.
94178825Sdfr
95178825Sdfr	* gen.c: Include <limits.h> for UINT_MAX.
96178825Sdfr
97178825Sdfr	* gen_decode.c: Check for multipication overrun.
98178825Sdfr
99178825Sdfr	* gen_encode.c: Paranoia check in buffer overun in output
100178825Sdfr	function.
101178825Sdfr
102178825Sdfr	* check-der.c: Test boolean.
103178825Sdfr
104178825Sdfr	* check-der.c: test universal strings.
105178825Sdfr
106178825Sdfr	* check-der.c: Test failure cases for der_get_tag.
107178825Sdfr
108178825Sdfr	* check-der.c: test dates from last century.
109178825Sdfr
110178825Sdfr	* check-der.c: Move zero length integercheck to a better place.
111178825Sdfr
112178825Sdfr	* check-der.c: Test zero length integer.
113178825Sdfr
114233294Sstas2007-06-18  Love H��rnquist ��strand  <lha@it.su.se>
115178825Sdfr
116178825Sdfr	* check-der.c: Init data to something.
117178825Sdfr
118233294Sstas2007-06-15  Love H��rnquist ��strand  <lha@it.su.se>
119178825Sdfr
120178825Sdfr	* k5.asn1: Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
121178825Sdfr
122233294Sstas2007-06-13  Love H��rnquist ��strand  <lha@it.su.se>
123178825Sdfr
124178825Sdfr	* pkinit.asn1: Make the pkinit nonce signed (like the kerberos
125178825Sdfr	nonce).
126178825Sdfr
127233294Sstas2007-06-03  Love H��rnquist ��strand  <lha@it.su.se>
128178825Sdfr
129178825Sdfr	* check-der.c: Free more memory.
130178825Sdfr
131178825Sdfr	* der_format.c: Don't accect zero length hex numbers.
132178825Sdfr
133178825Sdfr	* check-der.c: Also free right memory.
134178825Sdfr
135178825Sdfr	* main.c: Close asn1 file when done.
136178825Sdfr
137178825Sdfr	* check-der.c: more check for der_parse_hex_heim_integer
138178825Sdfr
139178825Sdfr	* der_format.c (der_parse_hex_heim_integer): check length before
140178825Sdfr	reading data.
141233294Sstas
142178825Sdfr	* check-gen.c (test_authenticator): free memory
143178825Sdfr
144233294Sstas2007-05-31  Love H��rnquist ��strand  <lha@it.su.se>
145233294Sstas
146178825Sdfr	* Makefile.am: add MS-UPN-SAN
147178825Sdfr
148178825Sdfr	* pkinit.asn1: add MS-UPN-SAN
149178825Sdfr
150178825Sdfr	* rfc2459.asn1: Do evil things to handle IMPLICIT encoded
151178825Sdfr	structures.  Add id-ms-client-authentication.
152178825Sdfr
153233294Sstas2007-05-30  Love H��rnquist ��strand  <lha@it.su.se>
154233294Sstas
155178825Sdfr	* Makefile.am: Add asn1_id_ms_cert_enroll_domaincontroller.x
156233294Sstas
157233294Sstas2007-05-10  Love H��rnquist ��strand  <lha@it.su.se>
158233294Sstas
159178825Sdfr	* gen.c: Add struct units; as a forward declaration. Pointed out
160178825Sdfr	by Marcus Watts.
161178825Sdfr
162178825Sdfr	* rfc2459.asn1: Netscape extentions
163178825Sdfr
164178825Sdfr	* Makefile.am: add U.S. Federal PKI Common Policy Framework
165178825Sdfr
166178825Sdfr	* rfc2459.asn1: add U.S. Federal PKI Common Policy Framework
167178825Sdfr
168233294Sstas2007-04-24  Love H��rnquist ��strand  <lha@it.su.se>
169233294Sstas
170178825Sdfr	* gen_seq.c: Handle the case of resize to 0 and realloc that
171178825Sdfr	returns NULL.
172178825Sdfr
173178825Sdfr	* check-gen.c (check_seq): free seq.
174178825Sdfr
175233294Sstas2007-04-19  Love H��rnquist ��strand  <lha@it.su.se>
176233294Sstas
177178825Sdfr	* check-der.c (test_heim_oid_format_same): avoid leaking memory in
178178825Sdfr	the non failure case too
179233294Sstas
180233294Sstas2007-04-16  Love H��rnquist ��strand  <lha@it.su.se>
181233294Sstas
182178825Sdfr	* Makefile.am: remove extra ^Q
183233294Sstas
184233294Sstas2007-04-11  Love H��rnquist ��strand  <lha@it.su.se>
185233294Sstas
186178825Sdfr	* der_get.c: Allow trailing NULs. We allow this since MIT Kerberos
187178825Sdfr	sends an strings in the NEED_PREAUTH case that includes a trailing
188178825Sdfr	NUL.
189233294Sstas
190233294Sstas2007-02-17  Love H��rnquist ��strand  <lha@it.su.se>
191233294Sstas
192233294Sstas
193178825Sdfr	* Makefile.am: Add PA-ClientCanonicalized and friends.
194178825Sdfr
195178825Sdfr	* k5.asn1: Add PA-ClientCanonicalized and friends.
196178825Sdfr
197233294Sstas2007-02-08  Love H��rnquist ��strand  <lha@it.su.se>
198233294Sstas
199178825Sdfr	* check-der.c: Drop one over INT_MAX test-case.
200233294Sstas
201233294Sstas2007-02-05  Love H��rnquist ��strand  <lha@it.su.se>
202233294Sstas
203178825Sdfr	* pkinit.asn1: add id-pkinit-ms-eku
204233294Sstas
205178825Sdfr	* pkinit.asn1: fill in more bits of id-pkinit-ms-san
206233294Sstas
207233294Sstas2007-02-02  Love H��rnquist ��strand  <lha@it.su.se>
208233294Sstas
209178825Sdfr	* digest.asn1: rename hash-a1 to session key
210233294Sstas
211233294Sstas2007-02-01  Love H��rnquist ��strand  <lha@it.su.se>
212233294Sstas
213178825Sdfr	* digest.asn1: Add elements to send in requestResponse to KDC and
214178825Sdfr	get status of the request.
215233294Sstas
216233294Sstas2007-01-31  Love H��rnquist ��strand  <lha@it.su.se>
217233294Sstas
218178825Sdfr	* Makefile.am: seq rules for CRLDistributionPoints
219233294Sstas
220233294Sstas2007-01-30  Love H��rnquist ��strand  <lha@it.su.se>
221233294Sstas
222178825Sdfr	* Makefile.am: add CRLDistributionPoints and friends
223233294Sstas
224233294Sstas2007-01-20  Love H��rnquist ��strand  <lha@it.su.se>
225233294Sstas
226178825Sdfr	* check-der.c: check BMPstring oddlength more
227178825Sdfr
228178825Sdfr	* check-der.c: Test for NUL char in string in GENERAL STRING.
229178825Sdfr
230178825Sdfr	* der_get.c: Check for NUL characters in string and return
231178825Sdfr	ASN1_BAD_CHARACTER error-code if we find them.
232178825Sdfr
233178825Sdfr	* asn1_err.et: Add BAD_CHARACTER error.
234233294Sstas
235233294Sstas2007-01-16  Love H��rnquist ��strand <lha@it.su.se>
236233294Sstas
237178825Sdfr	* Makefile.am: Add id-at-streetAddress.
238178825Sdfr
239178825Sdfr	* rfc2459.asn1: Add id-at-streetAddress.
240233294Sstas
241233294Sstas2007-01-12  Love H��rnquist ��strand  <lha@it.su.se>
242233294Sstas
243178825Sdfr	* rfc2459.asn1: Add PKIXXmppAddr and id-pkix-on-xmppAddr.
244233294Sstas
245233294Sstas2006-12-30  Love H��rnquist ��strand  <lha@it.su.se>
246233294Sstas
247178825Sdfr	* Makefile.am: Add id-pkix-kp oids.
248178825Sdfr
249178825Sdfr	* rfc2459.asn1: Add id-pkix-kp oids.
250178825Sdfr
251233294Sstas2006-12-29  Love H��rnquist ��strand  <lha@it.su.se>
252233294Sstas
253178825Sdfr	* gen_encode.c: Named bit strings have this horrible, disgusting,
254178825Sdfr	compress bits until they are no longer really there but stuff in
255178825Sdfr	an initial octet anyway encoding scheme. Try to get it right and
256178825Sdfr	calculate the initial octet runtime instead of compiletime.
257178825Sdfr
258178825Sdfr	* check-gen.c: Check all other silly bitstring combinations.
259178825Sdfr
260178825Sdfr	* Makefile.am: Add --sequence=Extensions to rfc2459.
261233294Sstas
262233294Sstas2006-12-28  Love H��rnquist ��strand  <lha@it.su.se>
263233294Sstas
264178825Sdfr	* kx509.asn1: Add kx509.
265178825Sdfr
266178825Sdfr	* Makefile.am: Add kx509.
267178825Sdfr
268178825Sdfr	* Add VisibleString parsing
269178825Sdfr
270233294Sstas2006-12-15  Love H��rnquist ��strand  <lha@it.su.se>
271178825Sdfr
272178825Sdfr	* Makefile.am: Add ntlm files.
273178825Sdfr
274178825Sdfr	* digest.asn1: Add bits for handling NTLM.
275178825Sdfr
276233294Sstas2006-12-08  Love H��rnquist ��strand  <lha@it.su.se>
277233294Sstas
278178825Sdfr	* Makefile.am: add pkix proxy cert policy lang oids
279178825Sdfr
280178825Sdfr	* rfc2459.asn1: add pkix proxy cert policy lang oids
281233294Sstas
282233294Sstas2006-12-07  Love H��rnquist ��strand  <lha@it.su.se>
283233294Sstas
284178825Sdfr	* rfc2459.asn1: unbreak id-pe-proxyCertInfo
285178825Sdfr
286178825Sdfr	* rfc2459.asn1: Add id-pkix-on-dnsSRV and related oids
287178825Sdfr
288233294Sstas2006-11-28  Love H��rnquist ��strand  <lha@it.su.se>
289233294Sstas
290178825Sdfr	* Makefile.am: Add explicit depenency to LIB_roken for libasn1.la,
291178825Sdfr	make AIX happy.
292178825Sdfr
293233294Sstas2006-11-27  Love H��rnquist ��strand  <lha@it.su.se>
294233294Sstas
295178825Sdfr	* der_format.c (der_print_heim_oid): oid with zero length is
296178825Sdfr	invalid, fail to print.
297233294Sstas
298233294Sstas2006-11-24  Love H��rnquist ��strand  <lha@it.su.se>
299233294Sstas
300178825Sdfr	* der_format.c (der_print_heim_oid): use delim when printing.
301233294Sstas
302233294Sstas2006-11-21  Love H��rnquist ��strand  <lha@it.su.se>
303233294Sstas
304178825Sdfr	* k5.asn1: Make KRB5-PADATA-S4U2SELF pa type 129.
305178825Sdfr
306233294Sstas2006-10-24  Love H��rnquist ��strand  <lha@it.su.se>
307233294Sstas
308178825Sdfr	* asn1_err.et: add EXTRA_DATA
309178825Sdfr
310233294Sstas2006-10-21  Love H��rnquist ��strand  <lha@it.su.se>
311233294Sstas
312178825Sdfr	* check-gen.c: avoid leaking memory
313178825Sdfr
314178825Sdfr	* check-der.c: avoid leaking memory
315178825Sdfr
316178825Sdfr	* der_format.c (der_parse_heim_oid): avoid leaking memory
317178825Sdfr
318178825Sdfr	* check-common.c: Print size_t as (unsigned long) and cast.
319178825Sdfr
320178825Sdfr	* check-common.c: Try to align data, IA64's gets upset if its
321178825Sdfr	unaligned.
322178825Sdfr
323178825Sdfr	* lex.l: add missing */
324233294Sstas
325178825Sdfr	* lex.c: need %e for hpux lex
326178825Sdfr
327233294Sstas2006-10-20  Love H��rnquist ��strand  <lha@it.su.se>
328233294Sstas
329178825Sdfr	* Makefile.am: remove dups from gen_files_test, add check-timegm.
330233294Sstas
331178825Sdfr	* Makefile.am: include more test.asn1 built files
332178825Sdfr
333178825Sdfr	* Makefile.am: More files, now for make check.
334178825Sdfr
335233294Sstas2006-10-19  Love H��rnquist ��strand  <lha@it.su.se>
336233294Sstas
337178825Sdfr	* Makefile.am: Add missing files
338178825Sdfr
339178825Sdfr	* Makefile.am (asn1_compile_SOURCES): add gen_locl.h
340178825Sdfr
341178825Sdfr	* check-timegm.c: Add check for _der_timegm.
342178825Sdfr
343178825Sdfr	* der_get.c (generalizedtime2time): always use _der_timegm.
344178825Sdfr
345178825Sdfr	* timegm.c: make more strict
346178825Sdfr
347178825Sdfr	* der_locl.h: Rename timegm to _der_timegm.
348233294Sstas
349233294Sstas2006-10-17  Love H��rnquist ��strand  <lha@it.su.se>
350233294Sstas
351178825Sdfr	* timegm.c: vJust fail if tm_mon is out of range for now XXXX this
352178825Sdfr	is wrong.
353233294Sstas
354233294Sstas2006-10-16  Love H��rnquist ��strand  <lha@it.su.se>
355233294Sstas
356178825Sdfr	* Makefile.am: extra depencies on der-protos.h
357178825Sdfr
358233294Sstas2006-10-14 Love H��rnquist ��strand <lha@it.su.se>
359233294Sstas
360178825Sdfr	* check-der.c: Prefix primitive types with der_.
361178825Sdfr
362178825Sdfr	* timegm.c: rename the buildin timegm to _der_timegm
363178825Sdfr
364178825Sdfr	* heim_asn1.h: move prototype away from here.
365178825Sdfr
366178825Sdfr	* der_format.c: Add der_parse_heim_oid
367233294Sstas
368178825Sdfr	* gen_free.c: prefix primitive types with der_
369178825Sdfr
370178825Sdfr	* der_copy.c: prefix primitive types with der_
371178825Sdfr
372178825Sdfr	* gen_length.c: prefix primitive types with der_
373178825Sdfr
374178825Sdfr	* der_length.c: prefix primitive types with der_
375178825Sdfr
376178825Sdfr	* der_cmp.c: prefix primitive types with der_
377178825Sdfr
378178825Sdfr	* gen_free.c: prefix primitive types with der_
379178825Sdfr
380178825Sdfr	* der_free.c: prefix primitive types with der_
381178825Sdfr
382178825Sdfr	* gen_copy.c: prefix primitive types with der_
383178825Sdfr
384178825Sdfr	* der_copy.c: rename copy_ to der_copy_
385178825Sdfr
386178825Sdfr	* Makefile.am: Add der-protos.h to nodist_include_HEADERS.
387233294Sstas
388178825Sdfr	* der.h: use newly built <der-protos.h>
389178825Sdfr
390178825Sdfr	* Makefile.am: Generate der prototypes.
391178825Sdfr
392178825Sdfr	* gen.c: move any definitions here.
393178825Sdfr
394178825Sdfr	* asn1-common.h: move any definitions here.
395178825Sdfr
396178825Sdfr	* der.h: remove der_parse_oid prototype, it was never implemented.
397178825Sdfr
398178825Sdfr	* der.h: New der_print_heim_oid signature.  Test
399178825Sdfr	der_parse_heim_oid
400178825Sdfr
401178825Sdfr	* check-der.c: New der_print_heim_oid signature.  Test
402178825Sdfr	der_parse_heim_oid
403233294Sstas
404233294Sstas2006-10-07  Love H��rnquist ��strand <lha@it.su.se>
405233294Sstas
406178825Sdfr	* lex.l: Grow an even larger output table size.
407178825Sdfr
408178825Sdfr	* Makefile.am: split build files into dist_ and noinst_ SOURCES
409178825Sdfr
410233294Sstas2006-10-04  Love H��rnquist ��strand  <lha@it.su.se>
411233294Sstas
412178825Sdfr	* gen_seq.c: In generation of remove_TYPE: if you just removed the
413178825Sdfr	last element, you must not memmove memory beyond the array.  From
414178825Sdfr	Andrew Bartlett
415178825Sdfr
416233294Sstas2006-10-01  Love H��rnquist ��strand  <lha@it.su.se>
417233294Sstas
418178825Sdfr	* lex.l: Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald
419178825Sdfr	Barth.
420178825Sdfr
421233294Sstas2006-09-24  Love H��rnquist ��strand  <lha@it.su.se>
422233294Sstas
423178825Sdfr	* gen_decode.c (decode_type): drop unused variable realtype.
424178825Sdfr
425233294Sstas2006-09-11  Love H��rnquist ��strand <lha@it.su.se>
426233294Sstas
427178825Sdfr	* Makefile.am: Add KRB5SignedPath and friends.
428178825Sdfr
429178825Sdfr	* k5.asn1: Add KRB5SignedPath and friends.
430178825Sdfr
431178825Sdfr	* Makefile.am: Add new sequence generation for GeneralNames.
432178825Sdfr
433233294Sstas2006-09-07  Love H��rnquist ��strand  <lha@it.su.se>
434178825Sdfr
435178825Sdfr	* CMS.asn1 (CMSVersion): rename versions from v0 to CMSVersion_v0,
436178825Sdfr	...
437178825Sdfr
438233294Sstas2006-09-05  Love H��rnquist ��strand  <lha@it.su.se>
439233294Sstas
440178825Sdfr	* Makefile.am: Add TESTSeqOf for testing sequence generation code.
441178825Sdfr
442178825Sdfr	* check-gen.c: Add sequence tests.
443178825Sdfr
444178825Sdfr	* test.asn1: Add TESTSeqOf for testing sequence generation code.
445178825Sdfr
446178825Sdfr	* gen_seq.c: fix warning.
447178825Sdfr
448178825Sdfr	* gen_seq.c: make generated data work
449178825Sdfr
450178825Sdfr	* setchgpw2.asn1: enctype is part of the krb5 module now, use that
451178825Sdfr	instead of locally defining it.
452178825Sdfr
453178825Sdfr	* Makefile.am: asn1_compile += gen_seq.c
454178825Sdfr
455178825Sdfr	* gen_locl.h: add new prototypes, remove unused ones.
456178825Sdfr
457178825Sdfr	* gen.c: Generate sequence function.
458178825Sdfr
459178825Sdfr	* main.c: add --sequence
460178825Sdfr
461178825Sdfr	* gen_seq.c: Add generated add_ and remove_ for "SEQUENCE OF
462178825Sdfr	TType". I'm tried of writing realloc(foo->data,
463178825Sdfr	sizeof(foo->data[0]) + (foo->len + 1)); Only generated for those
464178825Sdfr	type that is enabled by the command flag --sequence.
465178825Sdfr
466233294Sstas2006-08-25  Love H��rnquist ��strand  <lha@it.su.se>
467233294Sstas
468178825Sdfr	* digest.asn1 (DigestRequest): add authid
469178825Sdfr
470178825Sdfr	* digest.asn1: Comment describing on how to communicate the sasl
471178825Sdfr	int/conf mode.
472178825Sdfr
473233294Sstas2006-08-23  Love H��rnquist ��strand  <lha@it.su.se>
474233294Sstas
475178825Sdfr	* digest.asn1: Add some missing fields needed for digest.
476178825Sdfr
477233294Sstas2006-08-21  Love H��rnquist ��strand  <lha@it.su.se>
478233294Sstas
479178825Sdfr	* digest.asn1: Tweak to make consisten and more easier to use.
480178825Sdfr
481233294Sstas2006-07-20  Love H��rnquist ��strand  <lha@it.su.se>
482233294Sstas
483178825Sdfr	* Makefile.am: Remove CMS symmetric encryption support.  Add
484178825Sdfr	DigestProtocol.
485178825Sdfr
486178825Sdfr	* digest.asn1: DigestProtocol
487178825Sdfr
488178825Sdfr	* k5.asn1: Remove CMS symmetric encryption support.
489233294Sstas
490233294Sstas2006-06-22  Love H��rnquist ��strand  <lha@it.su.se>
491233294Sstas
492178825Sdfr	* check-der.c (check_fail_heim_integer): disable test
493178825Sdfr
494178825Sdfr	* der_get.c (der_get_heim_integer): revert part of previous
495178825Sdfr
496178825Sdfr	* der_get.c (der_get_heim_integer): Add more checks
497178825Sdfr
498178825Sdfr	* asn1_print.c: Add printing of bignums and use der_print_heim_oid
499178825Sdfr
500178825Sdfr	* check-der.c (test_heim_oid_format_same): add printing on failure
501178825Sdfr
502178825Sdfr	* check-der.c: Add one check for heim_int, add checking for oid
503178825Sdfr	printing
504178825Sdfr
505233294Sstas2006-06-06  Love H��rnquist ��strand  <lha@it.su.se>
506233294Sstas
507178825Sdfr	* Makefile.am: Impersonation support bits (and sort)
508178825Sdfr
509178825Sdfr	* k5.asn1: Impersonation support bits.
510178825Sdfr
511233294Sstas2006-05-13  Love H��rnquist ��strand  <lha@it.su.se>
512233294Sstas
513178825Sdfr	* der_format.c (der_parse_hex_heim_integer): avoid shadowing.
514233294Sstas
515233294Sstas2006-04-29  Love H��rnquist ��strand  <lha@it.su.se>
516233294Sstas
517178825Sdfr	* Makefile.am: Add ExternalPrincipalIdentifiers, shared between
518178825Sdfr	several elements.
519178825Sdfr
520178825Sdfr	* pkinit.asn1: Add ExternalPrincipalIdentifiers, shared between
521178825Sdfr	several elements.
522178825Sdfr
523233294Sstas2006-04-28  Love H��rnquist ��strand  <lha@it.su.se>
524233294Sstas
525178825Sdfr	* parse.y: Add missing ;'s, found by bison on a SuSE 8.2 machine.
526178825Sdfr
527233294Sstas2006-04-26  Love H��rnquist ��strand  <lha@it.su.se>
528233294Sstas
529178825Sdfr	* Makefile.am: Add definitions from RFC 3820, Proxy Certificate
530178825Sdfr	Profile.
531178825Sdfr
532178825Sdfr	* rfc2459.asn1: Add definitions from RFC 3820, Proxy Certificate
533178825Sdfr	Profile.
534178825Sdfr
535233294Sstas2006-04-24  Love H��rnquist ��strand  <lha@it.su.se>
536233294Sstas
537178825Sdfr	* rfc2459.asn1: Add id-Userid
538178825Sdfr
539178825Sdfr	* Makefile.am: Add UID and email
540178825Sdfr
541178825Sdfr	* pkcs9.asn1: Add id-pkcs9-emailAddress
542233294Sstas
543178825Sdfr	* Makefile.am: Add attribute type oids from X520 and RFC 2247 DC
544178825Sdfr	oid
545178825Sdfr
546178825Sdfr	* rfc2459.asn1: Add attribute type oids from X520 and RFC 2247 DC
547178825Sdfr	oid
548178825Sdfr
549233294Sstas2006-04-21  Love H��rnquist ��strand <lha@it.su.se>
550233294Sstas
551178825Sdfr	* Makefile.am: add sha-1 and sha-2
552178825Sdfr
553178825Sdfr	* rfc2459.asn1: add sha-1 and sha-2
554178825Sdfr
555233294Sstas2006-04-15  Love H��rnquist ��strand  <lha@it.su.se>
556233294Sstas
557178825Sdfr	* Makefile.am: Add id-pkcs1-sha256WithRSAEncryption and friends
558178825Sdfr
559178825Sdfr	* rfc2459.asn1: Add id-pkcs1-sha256WithRSAEncryption and friends
560178825Sdfr
561178825Sdfr	* CMS.asn1: Turn CMSRC2CBCParameter.rc2ParameterVersion into a
562178825Sdfr	constrained integer
563178825Sdfr
564233294Sstas2006-04-08  Love H��rnquist ��strand  <lha@it.su.se>
565233294Sstas
566178825Sdfr	* hash.c (hashtabnew): check for NULL before setting structure.
567178825Sdfr	Coverity, NetBSD CID#4
568178825Sdfr
569233294Sstas2006-03-31  Love H��rnquist ��strand  <lha@it.su.se>
570233294Sstas
571178825Sdfr	* Makefile.am: gen_files_rfc2459 += asn1_ExtKeyUsage.x
572233294Sstas
573178825Sdfr	* rfc2459.asn1: Add ExtKeyUsage.
574178825Sdfr
575178825Sdfr	* gen.c (generate_header_of_codefile): remove unused variable.
576178825Sdfr
577233294Sstas2006-03-30  Love H��rnquist ��strand  <lha@it.su.se>
578233294Sstas
579178825Sdfr	* gen.c: Put all the IMPORTed headers into the headerfile to avoid
580178825Sdfr	hidden depencies.
581178825Sdfr
582233294Sstas2006-03-27  Love H��rnquist ��strand  <lha@it.su.se>
583233294Sstas
584178825Sdfr	* Makefile.am: Add id-pkinit-ms-san.
585178825Sdfr
586178825Sdfr	* pkinit.asn1: Add id-pkinit-ms-san.
587178825Sdfr
588178825Sdfr	* k5.asn1 (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
589178825Sdfr
590233294Sstas2006-03-26  Love H��rnquist ��strand  <lha@it.su.se>
591233294Sstas
592178825Sdfr	* Makefile.am: Add pkinit-san.
593178825Sdfr
594178825Sdfr	* pkinit.asn1: Rename id-pksan to id-pkinit-san
595178825Sdfr
596233294Sstas2006-03-08  Love H��rnquist ��strand  <lha@it.su.se>
597233294Sstas
598178825Sdfr	* gen.c (init_generate): Nothing in the generated files needs
599178825Sdfr	timegm(), so no need to provide a prototype for it.
600178825Sdfr
601233294Sstas2006-02-13  Love H��rnquist ��strand  <lha@it.su.se>
602233294Sstas
603178825Sdfr	* pkinit.asn1: paChecksum is now OPTIONAL so it can be upgraded to
604178825Sdfr	something better then SHA1
605178825Sdfr
606233294Sstas2006-01-31  Love H��rnquist ��strand  <lha@it.su.se>
607233294Sstas
608178825Sdfr	* extra.c: Stub-generator now generates alloc statements for
609178825Sdfr	tagless ANY OPTIONAL, remove workaround.
610178825Sdfr
611178825Sdfr	* check-gen.c: check for "tagless ANY OPTIONAL"
612178825Sdfr
613178825Sdfr	* test.asn1: check for "tagless ANY OPTIONAL"
614178825Sdfr
615233294Sstas2006-01-30  Love H��rnquist ��strand  <lha@it.su.se>
616233294Sstas
617178825Sdfr	* der.h: UniversalString and BMPString are both implemented.
618178825Sdfr
619178825Sdfr	* der.h: Remove , after the last element of enum.
620178825Sdfr
621178825Sdfr	* asn1_gen.c: Spelling.
622233294Sstas
623233294Sstas2006-01-20  Love H��rnquist ��strand <lha@it.su.se>
624233294Sstas
625178825Sdfr	* der_length.c (length_heim_integer): Try handle negative length
626178825Sdfr	of integers better.
627178825Sdfr
628178825Sdfr	* der_get.c (der_get_heim_integer): handle negative integers.
629233294Sstas
630178825Sdfr	* check-der.c: check heim_integer.
631178825Sdfr
632233294Sstas2006-01-18  Love H��rnquist ��strand <lha@it.su.se>
633233294Sstas
634178825Sdfr	* Makefile.am: Its cRLReason, not cRLReasons
635178825Sdfr
636178825Sdfr	* canthandle.asn1: "Allocation is done on CONTEXT tags" works just
637178825Sdfr	fine.
638178825Sdfr
639178825Sdfr	* rfc2459.asn1: Add CRL structures and OIDs.
640178825Sdfr
641178825Sdfr	* Makefile.am: Add CRL and TESTAlloc structures and OIDs.
642178825Sdfr
643178825Sdfr	* check-gen.c: Check OPTIONAL context-tagless elements.
644178825Sdfr
645178825Sdfr	* test.asn1: Check OPTIONAL context-tagless elements.
646178825Sdfr
647178825Sdfr	* der_cmp.c (heim_integer_cmp): make it work with negative
648178825Sdfr	numbers.
649178825Sdfr
650233294Sstas2006-01-17  Love H��rnquist ��strand  <lha@it.su.se>
651233294Sstas
652178825Sdfr	* check-der.c: check that der_parse_hex_heim_integer() handles odd
653178825Sdfr	length numbers.
654178825Sdfr
655178825Sdfr	* der_format.c (der_parse_hex_heim_integer): make more resiliant
656178825Sdfr	to errors, handle odd length numbers.
657178825Sdfr
658233294Sstas2006-01-13  Love H��rnquist ��strand  <lha@it.su.se>
659233294Sstas
660178825Sdfr	* Makefile.am: Add RSAPrivateKey
661233294Sstas
662178825Sdfr	* rfc2459.asn1: Add RSAPrivateKey.
663233294Sstas
664233294Sstas2006-01-05  Love H��rnquist ��strand  <lha@it.su.se>
665233294Sstas
666178825Sdfr	* der_copy.c (copy_heim_integer): copy the negative flag
667178825Sdfr
668233294Sstas2005-12-14  Love H��rnquist ��strand  <lha@it.su.se>
669233294Sstas
670178825Sdfr	* parse.y: Drop ExceptionSpec for now, its not used.
671178825Sdfr
672233294Sstas2005-12-06  Love H��rnquist ��strand  <lha@it.su.se>
673233294Sstas
674178825Sdfr	* test.asn1: Add test string for constraints.
675178825Sdfr
676178825Sdfr	* symbol.h: Add support for part of the Constraint-s
677178825Sdfr
678178825Sdfr	* gen.c: Set new constraints pointer in Type to NULL for inline
679178825Sdfr	constructed types.
680178825Sdfr
681178825Sdfr	* parse.y: Add support for parsing part of the Constraint-s
682233294Sstas
683233294Sstas2005-10-29  Love H��rnquist ��strand  <lha@it.su.se>
684233294Sstas
685178825Sdfr	* Makefile.am: Add some X9.57 (DSA) oids, sort lines
686178825Sdfr
687178825Sdfr	* rfc2459.asn1: Add some X9.57 (DSA) oids.
688178825Sdfr
689233294Sstas2005-10-07  Love H��rnquist ��strand  <lha@it.su.se>
690233294Sstas
691178825Sdfr	* Makefile.am: Remove pk-init-19 support.
692233294Sstas
693178825Sdfr	* pkinit.asn1: Fix comment
694233294Sstas
695178825Sdfr	* check-der.c: Add tests for parse and print functions for
696178825Sdfr	heim_integer.
697178825Sdfr
698178825Sdfr	* Makefile.am: Add parse and print functions for heim_integer.
699233294Sstas
700178825Sdfr	* der_format.c: Add parse and print functions for heim_integer.
701178825Sdfr
702178825Sdfr	* der.h: Add parse and print functions for heim_integer.
703178825Sdfr
704233294Sstas2005-09-22  Love H��rnquist ��strand  <lha@it.su.se>
705233294Sstas
706178825Sdfr	* Makefile.am (gen_files_rfc2459) += asn1_DHPublicKey.x
707233294Sstas
708178825Sdfr	* rfc2459.asn1: Add DHPublicKey, and INTEGER to for storing the DH
709178825Sdfr	public key in the SubjectPublicKeyInfo.subjectPublicKey BIT
710178825Sdfr	STRING.
711178825Sdfr
712233294Sstas2005-09-20  Love H��rnquist ��strand  <lha@it.su.se>
713233294Sstas
714178825Sdfr	* gen_decode.c: TSequenceOf/TSetOf: Increase the length of the
715178825Sdfr	array after successful decoding the next element, so that the
716178825Sdfr	array don't contain heap-data.
717178825Sdfr
718233294Sstas2005-09-13  Love H��rnquist ��strand  <lha@it.su.se>
719233294Sstas
720178825Sdfr	* check-der.c: Avoid empty array initiators.
721233294Sstas
722178825Sdfr	* pkcs8.asn1 (PKCS8PrivateKeyInfo): Inline SET OF to avoid
723178825Sdfr	compiler "feature"
724233294Sstas
725178825Sdfr	* check-common.c: Avoid signedness warnings.
726233294Sstas
727178825Sdfr	* check-common.h: Makes bytes native platform signed to avoid
728178825Sdfr	casting everywhere
729233294Sstas
730178825Sdfr	* check-der.c: Don't depend on malloc(very-very-larger-value) will
731178825Sdfr	fail.  Cast to unsigned long before printing size_t.
732233294Sstas
733178825Sdfr	* check-gen.c: Don't depend on malloc(very-very-larger-value) will
734178825Sdfr	fail.
735233294Sstas
736178825Sdfr	* check-gen.c: Fix signedness warnings.
737233294Sstas
738178825Sdfr	* lex.l: unput() have to hanppen in actions for flex 2.5.31, can
739178825Sdfr	do them in user code sesction, so move up handle_comment and
740178825Sdfr	handle_string into action, not much sharing was done anyway.
741178825Sdfr
742233294Sstas2005-09-09  Love H��rnquist ��strand  <lha@it.su.se>
743233294Sstas
744178825Sdfr	* check-der.c (test_one_int): len and len_len is size_t
745178825Sdfr
746233294Sstas2005-08-23  Love H��rnquist ��strand  <lha@it.su.se>
747178825Sdfr
748178825Sdfr	* gen_encode.c: Change name of oldret for each instance its used
749178825Sdfr	to avoid shadow warning. From: Stefan Metzmacher
750178825Sdfr	<metze@samba.org>.
751178825Sdfr
752178825Sdfr	* gen_length.c: Change name of oldret for each instance its used
753178825Sdfr	to avoid shadow warning. From: Stefan Metzmacher
754178825Sdfr	<metze@samba.org>.
755178825Sdfr
756178825Sdfr	* gen_decode.c: Change name of oldret for each instance its used
757178825Sdfr	to avoid shadow warning. From: Stefan Metzmacher
758178825Sdfr	<metze@samba.org>.
759233294Sstas
760178825Sdfr	* parse.y: Const poision yyerror.
761178825Sdfr
762178825Sdfr	* gen.c: Const poision.
763178825Sdfr
764233294Sstas2005-08-22 Love H��rnquist ��strand  <lha@it.su.se>
765233294Sstas
766178825Sdfr	* k5.asn1: Add KRB5-PADATA-PK-AS-09-BINDING, client send
767178825Sdfr	this (with an empty pa-data.padata-value) to tell the KDC that the
768178825Sdfr	client support the binding the PA-REP to the AS-REQ packet. This
769178825Sdfr	is to fix the problem lack of binding the AS-REQ to the PK-AS-REP
770178825Sdfr	in pre PK-INIT-27. The nonce is replaced with a asCheckSum.
771178825Sdfr
772233294Sstas2005-08-11 Love H��rnquist ��strand  <lha@it.su.se>
773233294Sstas
774178825Sdfr	* canthandle.asn1: Allocation is done on CONTEXT tags.
775178825Sdfr
776178825Sdfr	* asn1_gen.c: rename optind to optidx to avoid shadow warnings
777178825Sdfr
778233294Sstas2005-07-28  Love H��rnquist ��strand  <lha@it.su.se>
779178825Sdfr
780178825Sdfr	* rfc2459.asn1: add id-rsadsi-rc2-cbc
781178825Sdfr
782178825Sdfr	* Makefile.am: add another oid for rc2
783178825Sdfr
784233294Sstas2005-07-27  Love H��rnquist ��strand  <lha@it.su.se>
785178825Sdfr
786178825Sdfr	* check-der.c: Make variable initiation constant by moving them to
787178825Sdfr	global context
788178825Sdfr
789178825Sdfr	* check-gen.c: change to c89 comment
790178825Sdfr
791233294Sstas2005-07-27  Love H��rnquist ��strand  <lha@it.su.se>
792178825Sdfr
793178825Sdfr	* Makefile.am: remove duplicate asn1_CMSAttributes.x
794178825Sdfr
795233294Sstas2005-07-26  Love H��rnquist ��strand  <lha@it.su.se>
796178825Sdfr
797178825Sdfr	* asn1_print.c: rename optind to optidx
798178825Sdfr
799178825Sdfr	* Makefile.am: Update to pkinit-27
800178825Sdfr
801178825Sdfr	* pkinit.asn1: Update to pkinit-27
802178825Sdfr
803233294Sstas2005-07-25  Love H��rnquist ��strand  <lha@it.su.se>
804233294Sstas
805178825Sdfr	* check-der.c: make it work for non c99 compilers too
806233294Sstas
807178825Sdfr	* check-der.c: start testing BIT STRING
808178825Sdfr
809178825Sdfr	* der_cmp.c (heim_bit_string_cmp): try handle corner cases better
810233294Sstas
811178825Sdfr	* gen_free.c (free_type): free bignum integers
812178825Sdfr
813233294Sstas2005-07-23   Love H��rnquist ��strand  <lha@it.su.se>
814178825Sdfr
815178825Sdfr	* Makefile.am: add PKCS12-OctetString
816178825Sdfr
817178825Sdfr	* pkcs12.asn1: add PKCS12-OctetString
818178825Sdfr
819178825Sdfr	* Makefile.am: add new files
820178825Sdfr
821178825Sdfr	* rfc2459.asn1: include SET OF in Attribute to make the type more
822178825Sdfr	useful
823178825Sdfr
824178825Sdfr	* CMS.asn1: handle IMPLICIT and share some common structures
825178825Sdfr
826233294Sstas2005-07-21  Love H��rnquist ��strand  <lha@it.su.se>
827178825Sdfr
828178825Sdfr	* rfc2459.asn1: Include enough workarounds that this even might
829178825Sdfr	work.
830178825Sdfr
831178825Sdfr	* check-gen.c: Two implicit tests, one with all structures inlined
832233294Sstas
833178825Sdfr	* test.asn1: fix workaround for IMPLICIT CONS case
834233294Sstas
835178825Sdfr	* canthandle.asn1: fix workaround for IMPLICIT CONS case
836233294Sstas
837178825Sdfr	* asn1_print.c: hint that there are IMPLICIT content when we find
838178825Sdfr	it
839178825Sdfr
840178825Sdfr	* check-gen.c: Added #ifdef out test for IMPLICIT tagging.
841178825Sdfr
842178825Sdfr	* Makefile.am: test several IMPLICIT tag level deep
843233294Sstas
844178825Sdfr	* test.asn1: test several IMPLICIT tag level deep
845178825Sdfr
846178825Sdfr	* test.asn1: tests for IMPLICIT
847178825Sdfr
848178825Sdfr	* Makefile.am: tests for IMPLICIT
849178825Sdfr
850178825Sdfr	* canthandle.asn1: Expand on what is wrong with the IMPLICIT
851178825Sdfr	tagging
852178825Sdfr
853178825Sdfr	* rfc2459.asn1: some of the structure are in the IMPLICIT TAGS
854178825Sdfr	module
855178825Sdfr
856233294Sstas2005-07-19  Love H��rnquist ��strand  <lha@it.su.se>
857178825Sdfr
858178825Sdfr	* asn1_print.c: print size_t by casting to unsigned long and use
859178825Sdfr	right printf format tags are unsigned integers
860178825Sdfr
861178825Sdfr	* gen.c (generate_constant): oid elements are unsigned
862178825Sdfr
863178825Sdfr	* gen_decode.c (decode_type): tagdatalen should be an size_t.
864178825Sdfr
865178825Sdfr	* extra.c (decode_heim_any): tag is unsigned int.
866178825Sdfr
867178825Sdfr	* der_get.c (der_match_tag): tag is unsigned int.
868178825Sdfr
869178825Sdfr	* gen_length.c (length_type): cast size_t argument to unsigned
870178825Sdfr	long and use appropriate printf format
871178825Sdfr
872178825Sdfr	* check-der.c (check_fail_bitstring): check for length overflow
873178825Sdfr
874178825Sdfr	* der_get.c: rewrite integer overflow tests w/o SIZE_T_MAX
875178825Sdfr
876178825Sdfr	* check-common.c (generic_decode_fail): only copy in if checklen
877178825Sdfr	its less then 0xffffff and larger than 0.
878178825Sdfr
879178825Sdfr	* gen_decode.c (find_tag): find external references, we can't
880178825Sdfr	handle those, so tell user that instead of crashing
881178825Sdfr
882178825Sdfr2005-07-18  Dave Love  <fx@gnu.org>
883178825Sdfr
884178825Sdfr	* extra.c (free_heim_any_set): Fix return.
885178825Sdfr
886178825Sdfr	* gen_decode.c (find_tag): Fix return in TType case.
887178825Sdfr
888233294Sstas2005-07-13  Love H��rnquist ��strand  <lha@it.su.se>
889178825Sdfr
890178825Sdfr	* gen_encode.c (TChoice): add () to make sure variable expression
891178825Sdfr	is evaluated correctly
892178825Sdfr
893178825Sdfr	* gen_length.c (TChoice): add () to make sure variable expression
894178825Sdfr	is evaluated correctly
895178825Sdfr
896178825Sdfr	* k5.asn1: reapply 1.43 that got lost in the merge: rename pvno to
897178825Sdfr	krb5-pvno
898178825Sdfr
899233294Sstas2005-07-12  Love H��rnquist ��strand  <lha@it.su.se>
900178825Sdfr
901178825Sdfr	* gen_decode.c (decode_type): TChoice: set the label
902178825Sdfr
903178825Sdfr	* check-gen.c (cmp_Name): do at least some checking
904178825Sdfr
905178825Sdfr	* gen_locl.h: rename function filename() to get_filename() to
906178825Sdfr	avoid shadowing
907178825Sdfr
908178825Sdfr	* lex.l: rename function filename() to get_filename() to avoid
909178825Sdfr	shadowing
910178825Sdfr
911178825Sdfr	* gen.c: rename function filename() to get_filename() to avoid
912178825Sdfr	shadowing
913178825Sdfr
914178825Sdfr	* check-der.c: add failure checks for large oid elements
915178825Sdfr
916178825Sdfr	* check-gen.c: add failure checks for tag (and large tags)
917178825Sdfr
918178825Sdfr	* der_get.c: Check for integer overflows in tags and oid elements.
919178825Sdfr
920178825Sdfr2005-07-10  Assar Westerlund  <assar@kth.se>
921178825Sdfr
922178825Sdfr	* gen_decode.c: Fix decoding of choices to select which branch to
923178825Sdfr	try based on the tag and return an error if that branch fails.
924178825Sdfr
925178825Sdfr	* check-gen.c: Fix short choice test cases.
926178825Sdfr
927178825Sdfr2005-07-09  Assar Westerlund  <assar@kth.se>
928178825Sdfr
929178825Sdfr	* symbol.c:
930178825Sdfr	* parse.y:
931178825Sdfr	* main.c:
932178825Sdfr	* lex.l:
933178825Sdfr	* gen_length.c:
934178825Sdfr	* gen_free.c:
935178825Sdfr	* gen_encode.c:
936178825Sdfr	* gen_decode.c:
937178825Sdfr	* gen_copy.c:
938178825Sdfr	* gen.c:
939178825Sdfr	* extra.c:
940178825Sdfr	* check-gen.c:
941178825Sdfr	* check-der.c:
942178825Sdfr	* check-common.c:
943178825Sdfr	* asn1_print.c:
944178825Sdfr	* asn1_gen.c:
945178825Sdfr	Use emalloc, ecalloc, and estrdup.
946178825Sdfr	Check return value from asprintf.
947178825Sdfr	Make sure that malloc(0) returning NULL is not treated as an
948178825Sdfr	error.
949178825Sdfr
950233294Sstas2005-07-10  Love H��rnquist ��strand  <lha@it.su.se>
951178825Sdfr
952178825Sdfr	* check-gen.c: test cases for CHOICE, its too liberal right now,
953178825Sdfr	it don't fail hard on failure on after it successfully decoded the
954178825Sdfr	first tag in a choice branch
955178825Sdfr
956178825Sdfr	* asn1_gen.c: calculate the basename for the output file,
957178825Sdfr	pretty-print tag number
958178825Sdfr
959178825Sdfr	* test.gen: sample for asn1_gen
960178825Sdfr
961178825Sdfr	* check-gen.c: check errors in SEQUENCE
962178825Sdfr
963178825Sdfr	* Makefile.am: build asn1_gen, TESTSeq and new, and class/type/tag
964178825Sdfr	string<->num converter.
965178825Sdfr
966178825Sdfr	* test.asn1: TESTSeq, for testing SEQUENCE
967178825Sdfr
968178825Sdfr	* asn1_gen.c: generator for asn1 data
969178825Sdfr
970178825Sdfr	* asn1_print.c: use class/type/tag string<->num converter.
971178825Sdfr
972178825Sdfr	* der.c: Add class/type/tag string<->num converter.
973178825Sdfr
974178825Sdfr	* der.h: Add class/type/tag string<->num converter.
975178825Sdfr	Prototypes/structures for new time bits.
976178825Sdfr
977233294Sstas2005-07-09  Love H��rnquist ��strand  <lha@it.su.se>
978178825Sdfr
979178825Sdfr	* der_get.c (der_get_unsigned) check for length overflow
980178825Sdfr	(der_get_integer) ditto
981178825Sdfr	(der_get_general_string) ditto
982178825Sdfr
983178825Sdfr	* der_get.c: check for overruns using SIZE_T_MAX
984178825Sdfr
985178825Sdfr	* check-der.c: check BIT STRING and OBJECT IDENTIFIER error cases
986178825Sdfr
987178825Sdfr	* check-common.c (generic_decode_fail): allocate 4K for the over
988178825Sdfr	sized memory test
989178825Sdfr
990178825Sdfr	* der_get.c (der_get_oid): check for integer overruns and
991178825Sdfr	unterminated oid correctly
992178825Sdfr
993178825Sdfr	* check-common.h (map_alloc, generic_decode_fail): prototypes
994178825Sdfr
995178825Sdfr	* check-common.c (map_alloc): make input buffer const
996178825Sdfr	(generic_decode_fail): verify decoding failures
997178825Sdfr
998233294Sstas2005-07-05  Love H��rnquist ��strand  <lha@it.su.se>
999178825Sdfr
1000178825Sdfr	* gen_encode.c: split up the printf for SET OF, also use the
1001178825Sdfr	generate name for the symbol in the SET OF, if not, the name might
1002178825Sdfr	contain non valid variable name characters (like -)
1003178825Sdfr
1004233294Sstas2005-07-04  Love H��rnquist ��strand  <lha@it.su.se>
1005178825Sdfr
1006178825Sdfr	* Makefile.am: move pkcs12 defines into their own namespace
1007178825Sdfr
1008178825Sdfr	* pkcs12.asn1: move pkcs12 defines into their own namespace
1009178825Sdfr
1010178825Sdfr	* pkcs9.asn1: add PKCS9-friendlyName with workaround for SET OF
1011178825Sdfr	bug
1012178825Sdfr
1013178825Sdfr	* heim_asn1.h: reuse heim_octet_string for heim_any types
1014178825Sdfr
1015178825Sdfr	* main.c: use optidx, handle the case where name is missing and
1016178825Sdfr	use base of filename then
1017178825Sdfr
1018178825Sdfr	* asn1-common.h: include ASN1_MALLOC_ENCODE
1019178825Sdfr
1020178825Sdfr	* gen_decode.c: use less context so lower indentention level, add
1021178825Sdfr	missing {} where needed
1022178825Sdfr
1023233294Sstas2005-07-02  Love H��rnquist ��strand  <lha@it.su.se>
1024178825Sdfr
1025178825Sdfr	* gen_copy.c: Use a global variable to keep track of if the 'goto
1026178825Sdfr	fail' was used, and use that to only generate the label if needed.
1027178825Sdfr
1028178825Sdfr	* asn1_print.c: do indefinite form loop detection and stop after
1029178825Sdfr	10000 recursive indefinite forms, stops crashing due to running
1030178825Sdfr	out of stack
1031178825Sdfr
1032178825Sdfr	* asn1_print.c: catch badly formated indefinite length data
1033178825Sdfr	(missing EndOfContent tag) add (negative) indent flag to speed up
1034178825Sdfr	testing
1035178825Sdfr
1036233294Sstas2005-07-01  Love H��rnquist ��strand  <lha@it.su.se>
1037178825Sdfr
1038178825Sdfr	* canthandle.asn1: Can't handle primitives in CHOICE
1039178825Sdfr
1040178825Sdfr	* gen_decode.c: Check if malloc failes
1041178825Sdfr
1042178825Sdfr	* gen_copy.c: Make sure to free memory on failure
1043178825Sdfr
1044178825Sdfr	* gen_decode.c: Check if malloc failes, rename "reallen" to
1045178825Sdfr	tagdatalen since that is what it is.
1046178825Sdfr
1047233294Sstas2005-05-29  Love H��rnquist ��strand  <lha@it.su.se>
1048178825Sdfr
1049178825Sdfr	* prefix Der_class with ASN1_C_ to avoid problems with system
1050178825Sdfr	headerfiles that pollute the name space
1051178825Sdfr
1052233294Sstas2005-05-20  Love H��rnquist ��strand  <lha@it.su.se>
1053178825Sdfr
1054178825Sdfr	* pkcs12.asn1: add PKCS12CertBag
1055178825Sdfr
1056178825Sdfr	* pkcs9.asn1: add pkcs9 certtype x509 certificate
1057178825Sdfr
1058178825Sdfr	* Makefile.am: add pkcs12 certbag and pkcs9 certtype x509
1059178825Sdfr	certificate
1060178825Sdfr
1061178825Sdfr	* pkcs12.asn1: split off PKCS12Attributes from SafeBag so it can
1062178825Sdfr	be reused
1063178825Sdfr
1064178825Sdfr	* Makefile.am: add PKCS12Attributes
1065178825Sdfr
1066233294Sstas2005-05-10  Love H��rnquist ��strand  <lha@it.su.se>
1067178825Sdfr
1068178825Sdfr	* canthandle.asn1: fix tags in example
1069178825Sdfr
1070233294Sstas2005-05-02  Love H��rnquist ��strand  <lha@it.su.se>
1071178825Sdfr
1072178825Sdfr	* pkinit.asn1: Let the Windows nonce be an int32 (signed), if not
1073178825Sdfr	it will fail when using Windows PK-INIT.
1074178825Sdfr
1075233294Sstas2005-05-01  Love H��rnquist ��strand  <lha@it.su.se>
1076178825Sdfr
1077178825Sdfr	* Makefile.am: add pkcs12-PBEParams
1078178825Sdfr
1079178825Sdfr	* pkcs12.asn1: add pkcs12-PBEParams
1080178825Sdfr
1081178825Sdfr	* parse.y: objid_element: exit when the condition fails
1082178825Sdfr
1083233294Sstas2005-04-26  Love H��rnquist ��strand  <lha@it.su.se>
1084178825Sdfr
1085178825Sdfr	* gen_glue.c: 1.8: switch the units variable to a
1086178825Sdfr	function. gcc-4.1 needs the size of the structure if its defined
1087178825Sdfr	as extern struct units foo_units[] an we don't want to include
1088178825Sdfr	<parse_units.h> in the generate headerfile
1089178825Sdfr
1090233294Sstas2005-03-20  Love H��rnquist ��strand  <lha@it.su.se>
1091178825Sdfr
1092178825Sdfr	* Makefile.am: add the des-ede3-cbc oid that ansi x9.52 uses
1093178825Sdfr
1094178825Sdfr	* rfc2459.asn1: add the des-ede3-cbc oid that ansi x9.52 uses
1095178825Sdfr
1096178825Sdfr	* Makefile.am: add oids for x509
1097178825Sdfr
1098178825Sdfr	* rfc2459.asn1: add oids now when the compiler can handle them
1099178825Sdfr
1100233294Sstas2005-03-19  Love H��rnquist ��strand  <lha@it.su.se>
1101178825Sdfr
1102178825Sdfr	* Makefile.am: add pkcs9 files
1103178825Sdfr
1104178825Sdfr	* pkcs9.asn1: add small number of oids from pkcs9
1105178825Sdfr
1106233294Sstas2005-03-14  Love H��rnquist ��strand  <lha@it.su.se>
1107178825Sdfr
1108178825Sdfr	* Makefile.am: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1109178825Sdfr
1110178825Sdfr	* rfc2459.asn1: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1111178825Sdfr
1112233294Sstas2005-03-10  Love H��rnquist ��strand  <lha@it.su.se>
1113178825Sdfr
1114178825Sdfr	* k5.asn1: merge pa-numbers
1115178825Sdfr
1116233294Sstas2005-03-09  Love H��rnquist ��strand  <lha@it.su.se>
1117178825Sdfr
1118178825Sdfr	* Makefile.am: add oid's
1119178825Sdfr
1120178825Sdfr	* rfc2459.asn1: add encryption oids
1121178825Sdfr
1122178825Sdfr	* CMS.asn1: add signedAndEnvelopedData oid
1123178825Sdfr
1124178825Sdfr	* pkcs12.asn1: add pkcs12 oids
1125178825Sdfr
1126178825Sdfr	* CMS.asn1: add pkcs7 oids
1127178825Sdfr
1128233294Sstas2005-03-08  Love H��rnquist ��strand  <lha@it.su.se>
1129178825Sdfr
1130178825Sdfr	* gen.c (generate_header_of_codefile): break out the header
1131178825Sdfr	section generation
1132178825Sdfr	(generate_constant): generate a function that return the oid
1133178825Sdfr	inside a heim_oid
1134178825Sdfr
1135178825Sdfr	* parse.y: fix the ordering of the oid's
1136178825Sdfr
1137178825Sdfr	* parse.y: handle OBJECT IDENTIFIER as value construct
1138178825Sdfr
1139233294Sstas2005-02-24  Love H��rnquist ��strand  <lha@it.su.se>
1140178825Sdfr
1141178825Sdfr	* Preserve content of CHOICE element that is unknown if ellipsis
1142178825Sdfr	was used when defining the structure
1143178825Sdfr
1144233294Sstas2005-02-13  Love H��rnquist ��strand  <lha@it.su.se>
1145178825Sdfr
1146178825Sdfr	* parse.y: use ANS1_TAILQ macros
1147178825Sdfr
1148178825Sdfr	* *.[ch]: use ASN1_TAILQ macros
1149178825Sdfr
1150178825Sdfr	* asn1_queue.h: inline bsd sys/queue.h and rename TAILQ to
1151178825Sdfr	ASN1_TAILQ to avoid problems with name polluting headerfiles
1152178825Sdfr
1153233294Sstas2005-01-19  Love H��rnquist ��strand  <lha@it.su.se>
1154178825Sdfr
1155178825Sdfr	* gen.c: pull in <krb5-types.h>
1156178825Sdfr
1157233294Sstas2005-01-10  Love H��rnquist ��strand  <lha@it.su.se>
1158178825Sdfr
1159178825Sdfr	* Add BMPString and UniversalString
1160178825Sdfr
1161178825Sdfr	* k5.asn1 (EtypeList): make INTEGER constrained (use krb5int32)
1162178825Sdfr
1163233294Sstas2005-01-07  Love H��rnquist ��strand  <lha@it.su.se>
1164178825Sdfr
1165178825Sdfr	* rfc2459.asn1: add GeneralNames
1166178825Sdfr
1167233294Sstas2004-11-21  Love H��rnquist ��strand  <lha@it.su.se>
1168178825Sdfr
1169178825Sdfr	* gen.c: use unsigned integer for len of SequenceOf/SetOf and
1170178825Sdfr	bitstring names
1171178825Sdfr
1172233294Sstas2004-11-10  Love H��rnquist ��strand  <lha@it.su.se>
1173178825Sdfr
1174178825Sdfr	* Makefile.am: switch to krb5int32 and krb5uint32
1175178825Sdfr
1176178825Sdfr	* Unify that three integer types TInteger TUInteger and TBigInteger.
1177178825Sdfr	Start to use constrained integers where appropriate.
1178178825Sdfr
1179233294Sstas2004-10-13  Love H��rnquist ��strand  <lha@it.su.se>
1180178825Sdfr
1181178825Sdfr	* CMS.asn1: remove no longer used commented out elements
1182178825Sdfr
1183178825Sdfr	* gen_glue.c: make units structures const
1184178825Sdfr
1185233294Sstas2004-10-12  Love H��rnquist ��strand  <lha@it.su.se>
1186178825Sdfr
1187178825Sdfr	* lex.l: handle hex number with [a-fA-F] in them
1188178825Sdfr
1189233294Sstas2004-10-07  Love H��rnquist ��strand  <lha@it.su.se>
1190178825Sdfr
1191178825Sdfr	* gen_free.c: free _save for CHOICE too
1192178825Sdfr
1193178825Sdfr	* rfc2459.asn1: use Name and not heim_any
1194178825Sdfr
1195178825Sdfr	* gen_decode.c: if malloc for _save failes, goto fail so we free
1196178825Sdfr	the structure
1197178825Sdfr
1198178825Sdfr	* gen_copy.c: copy _save for CHOICE too
1199178825Sdfr
1200178825Sdfr	* gen.c: add _save for CHOICE too
1201178825Sdfr
1202178825Sdfr	* CMS.asn1: RecipientIdentifier and SignerIdentifier is the same
1203178825Sdfr	name is CMSIdentifier and add glue for that so we can share code
1204178825Sdfr	use Name and not heim_any
1205178825Sdfr
1206233294Sstas2004-10-03  Love H��rnquist ��strand  <lha@it.su.se>
1207178825Sdfr
1208178825Sdfr	* Makefile.am: drop AlgorithmIdentifierNonOpt add
1209178825Sdfr	{RC2CBC,}CBCParameter here where they belong
1210178825Sdfr
1211178825Sdfr	* CMS.asn1: add {RC2CBC,}CBCParameter here where they belong
1212178825Sdfr
1213178825Sdfr	* rfc2459.asn1: drop AlgorithmIdentifierNonOpt
1214178825Sdfr
1215178825Sdfr	* rfc2459.asn1: stop using AlgorithmIdentifierNonOpt hint that we
1216178825Sdfr	really want to use Name and some MS stuff
1217178825Sdfr
1218233294Sstas2004-09-05  Love H��rnquist ��strand  <lha@it.su.se>
1219178825Sdfr
1220178825Sdfr	* asn1_print.c: handle end of content, this is part BER support,
1221178825Sdfr	however, OCTET STRING need some tweeking too.
1222178825Sdfr
1223178825Sdfr	* der.h: add UT_EndOfContent
1224178825Sdfr
1225178825Sdfr	* test.asn1: test asn1 spec file
1226178825Sdfr
1227178825Sdfr	* check-gen.c: check larget tags
1228178825Sdfr
1229178825Sdfr	* Makefile.am: add test asn1 spec file that we can use for testing
1230178825Sdfr	constructs that doesn't exists in already existing spec (like
1231178825Sdfr	large tags)
1232178825Sdfr
1233178825Sdfr	* der_put.c (der_put_tag): make sure there are space for the head
1234178825Sdfr	tag when we are dealing with large tags (>30)
1235178825Sdfr
1236178825Sdfr	* check-gen.c: add test for tag length
1237178825Sdfr
1238178825Sdfr	* check-common.c: export the map_ functions for OVERRUN/UNDERRUN
1239178825Sdfr	detection restore the SIGSEGV handler when test is done
1240178825Sdfr
1241178825Sdfr	* check-common.h: export the map_ functions for OVERRUN/UNDERRUN
1242178825Sdfr	detection
1243178825Sdfr
1244178825Sdfr	* gen_decode.c: check that the tag-length is not longer the length
1245178825Sdfr	use forwstr on some more places
1246178825Sdfr
1247178825Sdfr	* parse.y: revert part of 1.14.2.21, multiple IMPORT isn't allowed
1248178825Sdfr
1249178825Sdfr	* pkinit.asn1: correct usage of IMPORT
1250178825Sdfr
1251178825Sdfr	* CMS.asn1: correct usage of IMPORT
1252178825Sdfr
1253178825Sdfr	* pkcs8.asn1: pkcs8, encrypting private key
1254178825Sdfr
1255178825Sdfr	* pkcs12.asn1: pkcs12, key/crl/certificate file transport PDU
1256178825Sdfr
1257178825Sdfr	* Makefile.am: add pkcs8 and pkcs12
1258178825Sdfr
1259178825Sdfr	* der_free.c: reset length when freing primitives
1260178825Sdfr
1261178825Sdfr	* CMS.asn1: add EncryptedData
1262178825Sdfr
1263233294Sstas2004-08-26  Love H��rnquist ��strand  <lha@it.su.se>
1264178825Sdfr
1265178825Sdfr	* gen_decode.c (decode_type): if the entry is already optional
1266178825Sdfr	when parsing a tag and we allocate the structure, not pass down
1267178825Sdfr	optional since that will case the subtype's decode_type also to
1268178825Sdfr	allocate an entry. and we'll leak an entry. Bug from Luke Howard
1269178825Sdfr	<lukeh@padl.com>. While here, use calloc.
1270178825Sdfr
1271233294Sstas2004-04-29  Love H��rnquist ��strand  <lha@it.su.se>
1272178825Sdfr
1273178825Sdfr	* k5.asn1: shift the last added etypes one step so rc2 doesn't
1274178825Sdfr	stomp on cram-md5
1275178825Sdfr
1276233294Sstas2004-04-26  Love H��rnquist ��strand  <lha@it.su.se>
1277178825Sdfr
1278178825Sdfr	* k5.asn1: add ETYPE_AESNNN_CBC_NONE
1279178825Sdfr
1280178825Sdfr	* CMS.asn1: add CMS symmetrical parameters moved to k5.asn1
1281178825Sdfr
1282178825Sdfr	* k5.asn1: add CMS symmetrical parameters here, more nametypes
1283178825Sdfr	enctype rc2-cbc
1284178825Sdfr
1285233294Sstas2004-04-25  Love H��rnquist ��strand  <lha@it.su.se>
1286178825Sdfr
1287178825Sdfr	* gen_decode.c: free data on decode failure
1288178825Sdfr
1289233294Sstas2004-04-24  Love H��rnquist ��strand  <lha@it.su.se>
1290178825Sdfr
1291178825Sdfr	* Makefile.am: add CBCParameter and RC2CBCParameter
1292178825Sdfr
1293178825Sdfr	* CMS.asn1: add CBCParameter and RC2CBCParameter
1294178825Sdfr
1295233294Sstas2004-04-20  Love H��rnquist ��strand  <lha@it.su.se>
1296178825Sdfr
1297178825Sdfr	* check-der.c: add simple test for oid's, used to trigger malloc
1298178825Sdfr	bugs in you have picky malloc (like valgrind/purify/third)
1299178825Sdfr
1300178825Sdfr	* der_get.c (der_get_oid): handle all oid components being smaller
1301178825Sdfr	then 127 and allocate one extra element since first byte is split
1302178825Sdfr	to to elements.
1303178825Sdfr
1304233294Sstas2004-04-16  Love H��rnquist ��strand  <lha@it.su.se>
1305178825Sdfr
1306178825Sdfr	* canthandle.asn1: one thing handled
1307178825Sdfr
1308178825Sdfr	* gen_decode.c: handle OPTIONAL CONS-tag-less elements
1309178825Sdfr
1310178825Sdfr	* der_length.c (length_len): since length is no longer the same as
1311178825Sdfr	an unsigned, do the length counting here. ("unsigned" is zero
1312178825Sdfr	padded when most significate bit is set, length is not)
1313178825Sdfr
1314233294Sstas2004-04-12  Love H��rnquist ��strand  <lha@it.su.se>
1315178825Sdfr
1316178825Sdfr	* canthandle.asn1: document by example what the encoder can't
1317178825Sdfr	handle right now
1318178825Sdfr
1319178825Sdfr	* Makefile.am: add more stuff needed whem implementing x509
1320178825Sdfr	preserve TBSCertificate
1321178825Sdfr
1322178825Sdfr	* rfc2459.asn1: add more stuff needed whem implementing x509
1323178825Sdfr
1324178825Sdfr	* CMS.asn1: move some type to rfc2459.asn1 where they belong (and
1325178825Sdfr	import them)
1326178825Sdfr
1327178825Sdfr	* gen.c: preserve the raw data when asked too
1328178825Sdfr
1329178825Sdfr	* gen_decode.c: preserve the raw data when asked too
1330178825Sdfr
1331178825Sdfr	* gen_copy.c: preserve the raw data when asked too
1332178825Sdfr
1333178825Sdfr	* gen_free.c: preserve the raw data when asked too
1334178825Sdfr
1335178825Sdfr	* gen_locl.h: add preserve_type
1336178825Sdfr
1337178825Sdfr	* heim_asn1.h: add heim_any_cmp
1338178825Sdfr
1339178825Sdfr	* main.c: add flag --preserve-binary=Symbol1,Symbol2,... that make
1340178825Sdfr	the compiler generate stubs to save the raw data, its not used
1341178825Sdfr	right now when generating the stat
1342178825Sdfr
1343178825Sdfr	* k5.asn1: Windows uses PADATA 15 for the request too
1344178825Sdfr
1345178825Sdfr	* extra.c: add heim_any_cmp
1346178825Sdfr
1347178825Sdfr	* der_put.c: implement UTCtime correctly
1348178825Sdfr
1349178825Sdfr	* der_locl.h: remove #ifdef HAVE_TIMEGM\ntimegm\n#endif here from
1350178825Sdfr	der.h so one day der.h can get installed
1351178825Sdfr
1352178825Sdfr	* der_length.c: implement UTCtime correctly
1353178825Sdfr
1354178825Sdfr	* der_get.c: implement UTCtime correctly, prefix dce_fix with
1355178825Sdfr	_heim_fix
1356178825Sdfr
1357178825Sdfr	* der_copy.c: make copy_bit_string work again
1358178825Sdfr
1359178825Sdfr	* der_cmp.c: add octet_string, integer, bit_string cmp functions
1360178825Sdfr
1361178825Sdfr	* der.h: hide away more symbols, add more _cmp functions
1362178825Sdfr
1363233294Sstas2004-03-06  Love H��rnquist ��strand  <lha@it.su.se>
1364178825Sdfr
1365178825Sdfr	* Makefile.am: add more pkix types make k5 use rfc150 bitstrings,
1366178825Sdfr	everything else use der bitstrings
1367178825Sdfr
1368178825Sdfr	* main.c: as a compile time option, handle no rfc1510 bitstrings
1369178825Sdfr
1370178825Sdfr	* gen_locl.h: rfc1510 bitstrings flag
1371178825Sdfr
1372178825Sdfr	* gen_length.c: as a compile time option, handle no rfc1510
1373178825Sdfr	bitstrings
1374178825Sdfr
1375178825Sdfr	* gen_encode.c: as a compile time option, handle no rfc1510
1376178825Sdfr	bitstrings
1377178825Sdfr
1378178825Sdfr	* gen_decode.c: handle no rfc1510 bitstrings
1379178825Sdfr
1380178825Sdfr	* check-gen.c: test for bitstrings
1381178825Sdfr
1382178825Sdfr	* rfc2459.asn1: add Certificates and KeyUsage
1383178825Sdfr
1384233294Sstas2004-02-22  Love H��rnquist ��strand  <lha@it.su.se>
1385178825Sdfr
1386178825Sdfr	* pkinit.asn1: use Name from PKIX
1387178825Sdfr
1388178825Sdfr	* rfc2459.asn1: add more silly string types to DirectoryString
1389178825Sdfr
1390178825Sdfr	* gen_encode.c: add checks for data overflow when encoding
1391178825Sdfr	TBitString with members encode SET OF correctly by bytewise
1392178825Sdfr	sorting the members
1393178825Sdfr
1394178825Sdfr	* gen_decode.c: add checks for data overrun when encoding
1395178825Sdfr	TBitString with members
1396178825Sdfr
1397178825Sdfr	* der_put.c: add _heim_der_set_sort
1398178825Sdfr
1399178825Sdfr	* der_cmp.c: rename oid_cmp to heim_oid_cmp
1400178825Sdfr
1401178825Sdfr	* der.h: rename oid_cmp to heim_oid_cmp, add _heim_der_set_sort
1402178825Sdfr
1403178825Sdfr	* check-gen.c: add check for Name and (commented out) heim_integer
1404178825Sdfr
1405178825Sdfr	* check-der.c: test for "der_length.c: Fix len_unsigned for
1406178825Sdfr	certain negative integers, it got the length wrong" , from
1407178825Sdfr	Panasas, Inc.
1408178825Sdfr
1409178825Sdfr	* der_length.c: Fix len_unsigned for certain negative integers, it
1410178825Sdfr	got the length wrong, fix from Panasas, Inc.
1411178825Sdfr
1412178825Sdfr	rename len_int and len_unsigned to _heim_\&
1413178825Sdfr
1414178825Sdfr	* gen_length.c: 1.14: (length_type): TSequenceOf: add up the size
1415178825Sdfr	of all the elements, don't use just the size of the last element.
1416178825Sdfr
1417233294Sstas2004-02-20  Love H��rnquist ��strand  <lha@it.su.se>
1418178825Sdfr
1419178825Sdfr	* rfc2459.asn1: include defintion of Name
1420178825Sdfr
1421178825Sdfr	* pkinit.asn1: no need for ContentType, its cms internal
1422178825Sdfr
1423178825Sdfr	* CMS.asn1: move ContentInfo to CMS
1424178825Sdfr
1425178825Sdfr	* pkinit.asn1: update to pk-init-18, move ContentInfo to CMS
1426178825Sdfr
1427178825Sdfr	* Makefile.am: align with pk-init-18, move contentinfo to cms
1428178825Sdfr
1429233294Sstas2004-02-17  Love H��rnquist ��strand  <lha@it.su.se>
1430178825Sdfr
1431178825Sdfr	* der_get.c: rewrite previous commit
1432178825Sdfr
1433178825Sdfr	* der_get.c (der_get_heim_integer): handle positive integer
1434178825Sdfr	starting with 0
1435178825Sdfr
1436178825Sdfr	* der_length.c (der_put_heim_integer): try handle negative
1437178825Sdfr	integers better (?)
1438178825Sdfr
1439178825Sdfr	* der_put.c (der_put_heim_integer): try handle negative integers
1440178825Sdfr	better
1441178825Sdfr
1442178825Sdfr	* der_get.c (der_get_heim_integer): dont abort on negative integer just
1443178825Sdfr	return ASN1_OVERRUN for now
1444178825Sdfr
1445178825Sdfr	* parse.y: add ia5string, and printablestring
1446178825Sdfr
1447178825Sdfr	* gen_length.c: add ia5string, and printablestring
1448178825Sdfr
1449178825Sdfr	* gen_free.c: add ia5string, and printablestring
1450178825Sdfr
1451178825Sdfr	* gen_decode.c: add ia5string, and printablestring
1452178825Sdfr
1453178825Sdfr	* gen_copy.c: add ia5string, and printablestring
1454178825Sdfr
1455178825Sdfr	* gen.c: add ia5string, printablestring, and utf8string change
1456178825Sdfr	implemetation of heim_integer and store the data as bigendian byte
1457178825Sdfr	array with a external flag for signedness
1458178825Sdfr
1459178825Sdfr	* der_put.c: add ia5string, printablestring, and utf8string change
1460178825Sdfr	implemetation of heim_integer and store the data as bigendian byte
1461178825Sdfr	array with a external flag for signedness
1462178825Sdfr
1463178825Sdfr	* der_length.c: add ia5string, printablestring, and utf8string
1464178825Sdfr	change implemetation of heim_integer and store the data as
1465178825Sdfr	bigendian byte array with a external flag for signedness
1466178825Sdfr
1467178825Sdfr	* der_get.c: add ia5string, printablestring, and utf8string change
1468178825Sdfr	implemetation of heim_integer and store the data as bigendian byte
1469178825Sdfr	array with a external flag for signedness
1470178825Sdfr
1471178825Sdfr	* der_free.c: add ia5string, printablestring, and utf8string
1472178825Sdfr
1473178825Sdfr	* der_copy.c: add ia5string, printablestring, and utf8string
1474178825Sdfr
1475178825Sdfr	* der.h: add ia5string, printablestring, and utf8string
1476178825Sdfr
1477178825Sdfr	* asn1-common.h: add signedness flag to heim_integer, add
1478178825Sdfr	ia5string and printablestring
1479178825Sdfr
1480233294Sstas2004-02-13  Love H��rnquist ��strand  <lha@it.su.se>
1481178825Sdfr
1482178825Sdfr	* rfc2459.asn1: use BIGINTEGER where appropriate
1483178825Sdfr
1484178825Sdfr	* setchgpw2.asn1: spelling and add op-req again
1485178825Sdfr
1486233294Sstas2004-02-12  Love H��rnquist ��strand  <lha@it.su.se>
1487178825Sdfr
1488178825Sdfr	* Makefile.am: clean up better
1489178825Sdfr
1490233294Sstas2004-02-11  Love H��rnquist ��strand  <lha@it.su.se>
1491178825Sdfr
1492178825Sdfr	* gen_decode.c (decode_type): TTag, don't overshare the reallen
1493178825Sdfr	variable
1494178825Sdfr
1495178825Sdfr	* Makefile.am: adapt to log file name change
1496178825Sdfr
1497178825Sdfr	* gen.c: genereate log file name based on base name
1498178825Sdfr
1499233294Sstas2003-11-26  Love H��rnquist ��strand  <lha@it.su.se>
1500178825Sdfr
1501178825Sdfr	* Makefile.am: += asn1_AlgorithmIdentifierNonOpt.x
1502178825Sdfr
1503178825Sdfr	* rfc2459.asn1: add AlgorithmIdentifierNonOpt and use it where
1504178825Sdfr	it's needed, make DomainParameters.validationParms heim_any as a
1505178825Sdfr	hack. Both are workarounds for the problem with heimdal's asn1
1506178825Sdfr	compiler have with decoing context tagless OPTIONALs.
1507178825Sdfr
1508178825Sdfr	* pkinit.asn1: don't import AlgorithmIdentifier
1509178825Sdfr
1510233294Sstas2003-11-25  Love H��rnquist ��strand  <lha@it.su.se>
1511178825Sdfr
1512178825Sdfr	* der_put.c (der_put_bit_string): make it work somewhat better
1513178825Sdfr	(should really prune off all trailing zeros)
1514178825Sdfr
1515178825Sdfr	* gen_encode.c (encode_type): bit string is not a constructed type
1516178825Sdfr
1517178825Sdfr	* der_length.c (length_bit_string): calculate right length for
1518178825Sdfr	bitstrings
1519178825Sdfr
1520233294Sstas2003-11-24  Love H��rnquist ��strand  <lha@it.su.se>
1521178825Sdfr
1522178825Sdfr	* der_cmp.c (oid_cmp): compare the whole array, not just
1523178825Sdfr	length/sizeof(component)
1524178825Sdfr
1525178825Sdfr	* check-common.c: mmap the scratch areas, mprotect before and
1526178825Sdfr	after, align data to the edge of the mprotect()ed area to provoke
1527178825Sdfr	bugs
1528178825Sdfr
1529178825Sdfr	* Makefile.am: add DomainParameters, ValidationParms
1530178825Sdfr
1531178825Sdfr	* rfc2459.asn1: add DomainParameters, ValidationParms
1532178825Sdfr
1533178825Sdfr	* check-der.c: add free function
1534178825Sdfr
1535178825Sdfr	* check-common.h: add free function
1536178825Sdfr
1537178825Sdfr	* check-common.c: add free function
1538178825Sdfr
1539178825Sdfr	* check-gen.c: check KRB-ERROR
1540178825Sdfr
1541178825Sdfr	* asn1_print.c: check end of tag_names loop into APPL class tags
1542178825Sdfr
1543233294Sstas2003-11-23  Love H��rnquist ��strand  <lha@it.su.se>
1544178825Sdfr
1545178825Sdfr	* der_put.c (der_put_generalized_time): check size, not *size
1546178825Sdfr
1547233294Sstas2003-11-11  Love H��rnquist ��strand  <lha@it.su.se>
1548178825Sdfr
1549178825Sdfr	* gen_decode.c (decode_type/TBitString): skip over
1550178825Sdfr	skipped-bits-in-last-octet octet
1551178825Sdfr
1552178825Sdfr	* gen_glue.c (generate_units): generate units in reverse order to
1553178825Sdfr	keep unparse_units happy
1554178825Sdfr
1555233294Sstas2003-11-08  Love H��rnquist ��strand  <lha@it.su.se>
1556178825Sdfr
1557178825Sdfr	* Makefile.am: generate all silly pkinit files
1558178825Sdfr
1559178825Sdfr	* pkinit.asn1: make it work again, add strange ms structures
1560178825Sdfr
1561178825Sdfr	* k5.asn1: PROV-SRV-LOCATION, PacketCable provisioning server
1562178825Sdfr	location, PKT-SP-SEC-I09-030728
1563178825Sdfr
1564178825Sdfr	* asn1-common.h: add bit string
1565178825Sdfr
1566178825Sdfr	* der_put.c: add bit string and utctime
1567178825Sdfr
1568178825Sdfr	* gen.c: add bit string and utctime
1569178825Sdfr
1570178825Sdfr	* gen_copy.c: add bit string and utctime
1571178825Sdfr
1572178825Sdfr	* der_copy.c: add bit string
1573178825Sdfr
1574178825Sdfr	* gen_decode.c: add utctime and bitstring
1575178825Sdfr
1576178825Sdfr	* gen_encode.c: add utctime and bitstring
1577178825Sdfr
1578178825Sdfr	* gen_free.c: add utctime and bitstring
1579178825Sdfr
1580178825Sdfr	* gen_glue.c: don't generate glue for member-less bit strings
1581178825Sdfr
1582178825Sdfr	* der_cmp.c: compare function for oids
1583178825Sdfr
1584178825Sdfr	* gen_length.c: add utc time, make bit string work for bits
1585178825Sdfr	strings w/o any members
1586178825Sdfr
1587178825Sdfr	* der_cmp.c: compare function for oids
1588178825Sdfr
1589178825Sdfr	* der.h: update boolean prototypes add utctime and bit_string
1590178825Sdfr
1591178825Sdfr	* der_free.c: add free_bit_string
1592178825Sdfr
1593178825Sdfr	* der_get.c: add bit string and utctime
1594178825Sdfr
1595178825Sdfr	* der_length.c: add bit string and utctime, fix memory leak in
1596178825Sdfr	length_generalized_time
1597178825Sdfr
1598178825Sdfr	* CMS.asn1: make EncryptedContentInfo.encryptedContent a OCTET
1599178825Sdfr	STRING to make the generator do the right thing with IMPLICIT
1600178825Sdfr	mumble OPTIONAL, make CertificateSet a heim_any_set
1601178825Sdfr
1602178825Sdfr	* extra.c, heim_asn1.h: add any_set, instead of just consuming one
1603178825Sdfr	der object, its consumes the rest of the data avaible
1604178825Sdfr
1605178825Sdfr	* extra.c, heim_asn1.h: extern implementation of ANY, decoder
1606178825Sdfr	needs to have hack removed when generator handles tagless optional
1607178825Sdfr	data
1608178825Sdfr
1609178825Sdfr	* pkinit.asn1: add KdcDHKeyInfo-Win2k
1610178825Sdfr
1611233294Sstas2003-11-07  Love H��rnquist ��strand  <lha@it.su.se>
1612178825Sdfr
1613178825Sdfr	* der_copy.c (copy_oid): copy all components
1614178825Sdfr
1615178825Sdfr	* parse.y: parse UTCTime, allow multiple IMPORT
1616178825Sdfr
1617178825Sdfr	* symbol.h: add TUTCTime
1618178825Sdfr
1619178825Sdfr	* rfc2459.asn1: update
1620178825Sdfr
1621178825Sdfr	* x509.asn1: update
1622178825Sdfr
1623178825Sdfr	* pkinit.asn1: update
1624178825Sdfr
1625178825Sdfr	* CMS.asn1: new file
1626178825Sdfr
1627178825Sdfr	* asn1_print.c: print some more lengths, check length before
1628178825Sdfr	steping out in the void, parse SET, only go down CONTEXT of type
1629178825Sdfr	CONS (not PRIM)
1630178825Sdfr
1631233294Sstas2003-09-17  Love H��rnquist ��strand  <lha@it.su.se>
1632178825Sdfr
1633178825Sdfr	* gen_encode.c (TChoice, TSequence): code element in reverse
1634178825Sdfr	order...
1635178825Sdfr
1636233294Sstas2003-09-16  Love H��rnquist ��strand  <lha@it.su.se>
1637178825Sdfr
1638178825Sdfr	* gen.c: store NULL's as int's for now
1639178825Sdfr
1640178825Sdfr	* parse.y: remove dup of type def of UsefulType
1641178825Sdfr
1642233294Sstas2003-09-11  Love H��rnquist ��strand  <lha@it.su.se>
1643178825Sdfr
1644178825Sdfr	* gen_decode.c (decode_type): if malloc failes, return ENOMEM
1645178825Sdfr
1646233294Sstas2003-09-10  Love H��rnquist ��strand  <lha@it.su.se>
1647178825Sdfr
1648178825Sdfr	* parse.y: kw_UTF8String is a token put tag around the OID
1649178825Sdfr
1650178825Sdfr	* asn1_print.c (UT_Integer): when the integer is larger then int
1651178825Sdfr	can handle, just print BIG INT and its size
1652178825Sdfr
1653233294Sstas2003-09-10  Love H��rnquist ��strand  <lha@it.su.se>
1654178825Sdfr
1655178825Sdfr	* gen_decode.c (decode_type): TTag, try to generate prettier code
1656178825Sdfr	in the non optional case, also remember to update length
1657178825Sdfr
1658178825Sdfr2003-01-22  Johan Danielsson  <joda@pdc.kth.se>
1659178825Sdfr
1660178825Sdfr	* gen_decode.c: add flag to decode broken DCE BER encoding
1661178825Sdfr
1662178825Sdfr	* gen_locl.h: add flag to decode broken DCE BER encoding
1663178825Sdfr
1664178825Sdfr	* main.c: add flag to decode broken DCE BER encoding
1665178825Sdfr
1666