1 2007-12-13 Love Hörnquist Åstrand <lha@it.su.se>
3 * libasn1.h: remove, not used.
5 2007-12-04 Love Hörnquist Åstrand <lha@it.su.se>
7 * Makefile.am: Add DigestTypes, add --seq to antoher type.
9 * digest.asn1: Add supportedMechs request.
11 2007-10-18 Love Hörnquist Åstrand <lha@it.su.se>
13 * k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
15 2007-07-23 Love Hörnquist Åstrand <lha@it.su.se>
17 * Makefile.am: Fold in pk-init-alg-agilty.
19 * pkinit.asn1: Fold in pk-init-alg-agilty.
21 2007-07-16 Love Hörnquist Åstrand <lha@it.su.se>
23 * parse.y: Passe object id is its part of the module defintion
26 2007-07-14 Love Hörnquist Åstrand <lha@it.su.se>
28 * check-gen.c: test SEQ OF SIZE (...)
30 * Makefile.am: Include more sizeof tests.
32 2007-07-12 Love Hörnquist Åstrand <lha@it.su.se>
34 * try to avoid aliasing of pointers enum {} vs int
36 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
38 * test.asn1: Test SIZE attribute for SEQ and OCTET STRING
40 * parse.y (OctetStringType): add SIZE to OCTET STRING.
42 * Makefile.am: New library version.
44 2007-07-02 Love Hörnquist Åstrand <lha@it.su.se>
46 * rfc2459.asn1: Re-add size limits.
48 * k5.asn1: Add size limits from RFC 4120.
50 * gen_decode.c: Check range on SEQ OF and OCTET STRING.
52 * asn1_err.et (min|max|exact) constraints.
54 * parse.y: Parse size limitations to SEQ OF.
56 2007-06-28 Love Hörnquist Åstrand <lha@it.su.se>
58 * Makefile.am: Add AuthorityInfoAccessSyntax.
60 * rfc2459.asn1: Add AuthorityInfoAccessSyntax.
62 * rfc2459.asn1: Add authorityInfoAccess, rename proxyCertInfo.
64 * Makefile.am: Add authorityInfoAccess, rename proxyCertInfo.
66 2007-06-27 Love Hörnquist Åstrand <lha@it.su.se>
68 * der_get.c (der_get_time): avoid using wrapping of octet_string
71 * der_get.c: No need to undef timetm, we don't use it any more.
73 * timegm.c: Fix spelling caused by too much query-replace.
75 * gen.c: Include <limits.h> for UINT_MAX.
77 * gen_decode.c: Check for multipication overrun.
79 * gen_encode.c: Paranoia check in buffer overun in output
82 * check-der.c: Test boolean.
84 * check-der.c: test universal strings.
86 * check-der.c: Test failure cases for der_get_tag.
88 * check-der.c: test dates from last century.
90 * check-der.c: Move zero length integercheck to a better place.
92 * check-der.c: Test zero length integer.
94 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
96 * check-der.c: Init data to something.
98 2007-06-15 Love Hörnquist Åstrand <lha@it.su.se>
100 * k5.asn1: Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
102 2007-06-13 Love Hörnquist Åstrand <lha@it.su.se>
104 * pkinit.asn1: Make the pkinit nonce signed (like the kerberos
107 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
109 * check-der.c: Free more memory.
111 * der_format.c: Don't accect zero length hex numbers.
113 * check-der.c: Also free right memory.
115 * main.c: Close asn1 file when done.
117 * check-der.c: more check for der_parse_hex_heim_integer
119 * der_format.c (der_parse_hex_heim_integer): check length before
122 * check-gen.c (test_authenticator): free memory
124 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
126 * Makefile.am: add MS-UPN-SAN
128 * pkinit.asn1: add MS-UPN-SAN
130 * rfc2459.asn1: Do evil things to handle IMPLICIT encoded
131 structures. Add id-ms-client-authentication.
133 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
135 * Makefile.am: Add asn1_id_ms_cert_enroll_domaincontroller.x
137 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
139 * gen.c: Add struct units; as a forward declaration. Pointed out
142 * rfc2459.asn1: Netscape extentions
144 * Makefile.am: add U.S. Federal PKI Common Policy Framework
146 * rfc2459.asn1: add U.S. Federal PKI Common Policy Framework
148 2007-04-24 Love Hörnquist Åstrand <lha@it.su.se>
150 * gen_seq.c: Handle the case of resize to 0 and realloc that
153 * check-gen.c (check_seq): free seq.
155 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
157 * check-der.c (test_heim_oid_format_same): avoid leaking memory in
158 the non failure case too
160 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
162 * Makefile.am: remove extra ^Q
164 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
166 * der_get.c: Allow trailing NULs. We allow this since MIT Kerberos
167 sends an strings in the NEED_PREAUTH case that includes a trailing
170 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
173 * Makefile.am: Add PA-ClientCanonicalized and friends.
175 * k5.asn1: Add PA-ClientCanonicalized and friends.
177 2007-02-08 Love Hörnquist Åstrand <lha@it.su.se>
179 * check-der.c: Drop one over INT_MAX test-case.
181 2007-02-05 Love Hörnquist Åstrand <lha@it.su.se>
183 * pkinit.asn1: add id-pkinit-ms-eku
185 * pkinit.asn1: fill in more bits of id-pkinit-ms-san
187 2007-02-02 Love Hörnquist Åstrand <lha@it.su.se>
189 * digest.asn1: rename hash-a1 to session key
191 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
193 * digest.asn1: Add elements to send in requestResponse to KDC and
194 get status of the request.
196 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
198 * Makefile.am: seq rules for CRLDistributionPoints
200 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
202 * Makefile.am: add CRLDistributionPoints and friends
204 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
206 * check-der.c: check BMPstring oddlength more
208 * check-der.c: Test for NUL char in string in GENERAL STRING.
210 * der_get.c: Check for NUL characters in string and return
211 ASN1_BAD_CHARACTER error-code if we find them.
213 * asn1_err.et: Add BAD_CHARACTER error.
215 2007-01-16 Love Hörnquist Åstrand <lha@it.su.se>
217 * Makefile.am: Add id-at-streetAddress.
219 * rfc2459.asn1: Add id-at-streetAddress.
221 2007-01-12 Love Hörnquist Åstrand <lha@it.su.se>
223 * rfc2459.asn1: Add PKIXXmppAddr and id-pkix-on-xmppAddr.
225 2006-12-30 Love Hörnquist Åstrand <lha@it.su.se>
227 * Makefile.am: Add id-pkix-kp oids.
229 * rfc2459.asn1: Add id-pkix-kp oids.
231 2006-12-29 Love Hörnquist Åstrand <lha@it.su.se>
233 * gen_encode.c: Named bit strings have this horrible, disgusting,
234 compress bits until they are no longer really there but stuff in
235 an initial octet anyway encoding scheme. Try to get it right and
236 calculate the initial octet runtime instead of compiletime.
238 * check-gen.c: Check all other silly bitstring combinations.
240 * Makefile.am: Add --sequence=Extensions to rfc2459.
242 2006-12-28 Love Hörnquist Åstrand <lha@it.su.se>
244 * kx509.asn1: Add kx509.
246 * Makefile.am: Add kx509.
248 * Add VisibleString parsing
250 2006-12-15 Love Hörnquist Åstrand <lha@it.su.se>
252 * Makefile.am: Add ntlm files.
254 * digest.asn1: Add bits for handling NTLM.
256 2006-12-08 Love Hörnquist Åstrand <lha@it.su.se>
258 * Makefile.am: add pkix proxy cert policy lang oids
260 * rfc2459.asn1: add pkix proxy cert policy lang oids
262 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
264 * rfc2459.asn1: unbreak id-pe-proxyCertInfo
266 * rfc2459.asn1: Add id-pkix-on-dnsSRV and related oids
268 2006-11-28 Love Hörnquist Åstrand <lha@it.su.se>
270 * Makefile.am: Add explicit depenency to LIB_roken for libasn1.la,
273 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
275 * der_format.c (der_print_heim_oid): oid with zero length is
276 invalid, fail to print.
278 2006-11-24 Love Hörnquist Åstrand <lha@it.su.se>
280 * der_format.c (der_print_heim_oid): use delim when printing.
282 2006-11-21 Love Hörnquist Åstrand <lha@it.su.se>
284 * k5.asn1: Make KRB5-PADATA-S4U2SELF pa type 129.
286 2006-10-24 Love Hörnquist Åstrand <lha@it.su.se>
288 * asn1_err.et: add EXTRA_DATA
290 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
292 * check-gen.c: avoid leaking memory
294 * check-der.c: avoid leaking memory
296 * der_format.c (der_parse_heim_oid): avoid leaking memory
298 * check-common.c: Print size_t as (unsigned long) and cast.
300 * check-common.c: Try to align data, IA64's gets upset if its
303 * lex.l: add missing */
305 * lex.c: need %e for hpux lex
307 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
309 * Makefile.am: remove dups from gen_files_test, add check-timegm.
311 * Makefile.am: include more test.asn1 built files
313 * Makefile.am: More files, now for make check.
315 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
317 * Makefile.am: Add missing files
319 * Makefile.am (asn1_compile_SOURCES): add gen_locl.h
321 * check-timegm.c: Add check for _der_timegm.
323 * der_get.c (generalizedtime2time): always use _der_timegm.
325 * timegm.c: make more strict
327 * der_locl.h: Rename timegm to _der_timegm.
329 2006-10-17 Love Hörnquist Åstrand <lha@it.su.se>
331 * timegm.c: vJust fail if tm_mon is out of range for now XXXX this
334 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
336 * Makefile.am: extra depencies on der-protos.h
338 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
340 * check-der.c: Prefix primitive types with der_.
342 * timegm.c: rename the buildin timegm to _der_timegm
344 * heim_asn1.h: move prototype away from here.
346 * der_format.c: Add der_parse_heim_oid
348 * gen_free.c: prefix primitive types with der_
350 * der_copy.c: prefix primitive types with der_
352 * gen_length.c: prefix primitive types with der_
354 * der_length.c: prefix primitive types with der_
356 * der_cmp.c: prefix primitive types with der_
358 * gen_free.c: prefix primitive types with der_
360 * der_free.c: prefix primitive types with der_
362 * gen_copy.c: prefix primitive types with der_
364 * der_copy.c: rename copy_ to der_copy_
366 * Makefile.am: Add der-protos.h to nodist_include_HEADERS.
368 * der.h: use newly built <der-protos.h>
370 * Makefile.am: Generate der prototypes.
372 * gen.c: move any definitions here.
374 * asn1-common.h: move any definitions here.
376 * der.h: remove der_parse_oid prototype, it was never implemented.
378 * der.h: New der_print_heim_oid signature. Test
381 * check-der.c: New der_print_heim_oid signature. Test
384 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
386 * lex.l: Grow an even larger output table size.
388 * Makefile.am: split build files into dist_ and noinst_ SOURCES
390 2006-10-04 Love Hörnquist Åstrand <lha@it.su.se>
392 * gen_seq.c: In generation of remove_TYPE: if you just removed the
393 last element, you must not memmove memory beyond the array. From
396 2006-10-01 Love Hörnquist Åstrand <lha@it.su.se>
398 * lex.l: Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald
401 2006-09-24 Love Hörnquist Åstrand <lha@it.su.se>
403 * gen_decode.c (decode_type): drop unused variable realtype.
405 2006-09-11 Love Hörnquist Åstrand <lha@it.su.se>
407 * Makefile.am: Add KRB5SignedPath and friends.
409 * k5.asn1: Add KRB5SignedPath and friends.
411 * Makefile.am: Add new sequence generation for GeneralNames.
413 2006-09-07 Love Hörnquist Åstrand <lha@it.su.se>
415 * CMS.asn1 (CMSVersion): rename versions from v0 to CMSVersion_v0,
418 2006-09-05 Love Hörnquist Åstrand <lha@it.su.se>
420 * Makefile.am: Add TESTSeqOf for testing sequence generation code.
422 * check-gen.c: Add sequence tests.
424 * test.asn1: Add TESTSeqOf for testing sequence generation code.
426 * gen_seq.c: fix warning.
428 * gen_seq.c: make generated data work
430 * setchgpw2.asn1: enctype is part of the krb5 module now, use that
431 instead of locally defining it.
433 * Makefile.am: asn1_compile += gen_seq.c
435 * gen_locl.h: add new prototypes, remove unused ones.
437 * gen.c: Generate sequence function.
439 * main.c: add --sequence
441 * gen_seq.c: Add generated add_ and remove_ for "SEQUENCE OF
442 TType". I'm tried of writing realloc(foo->data,
443 sizeof(foo->data[0]) + (foo->len + 1)); Only generated for those
444 type that is enabled by the command flag --sequence.
446 2006-08-25 Love Hörnquist Åstrand <lha@it.su.se>
448 * digest.asn1 (DigestRequest): add authid
450 * digest.asn1: Comment describing on how to communicate the sasl
453 2006-08-23 Love Hörnquist Åstrand <lha@it.su.se>
455 * digest.asn1: Add some missing fields needed for digest.
457 2006-08-21 Love Hörnquist Åstrand <lha@it.su.se>
459 * digest.asn1: Tweak to make consisten and more easier to use.
461 2006-07-20 Love Hörnquist Åstrand <lha@it.su.se>
463 * Makefile.am: Remove CMS symmetric encryption support. Add
466 * digest.asn1: DigestProtocol
468 * k5.asn1: Remove CMS symmetric encryption support.
470 2006-06-22 Love Hörnquist Åstrand <lha@it.su.se>
472 * check-der.c (check_fail_heim_integer): disable test
474 * der_get.c (der_get_heim_integer): revert part of previous
476 * der_get.c (der_get_heim_integer): Add more checks
478 * asn1_print.c: Add printing of bignums and use der_print_heim_oid
480 * check-der.c (test_heim_oid_format_same): add printing on failure
482 * check-der.c: Add one check for heim_int, add checking for oid
485 2006-06-06 Love Hörnquist Åstrand <lha@it.su.se>
487 * Makefile.am: Impersonation support bits (and sort)
489 * k5.asn1: Impersonation support bits.
491 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
493 * der_format.c (der_parse_hex_heim_integer): avoid shadowing.
495 2006-04-29 Love Hörnquist Åstrand <lha@it.su.se>
497 * Makefile.am: Add ExternalPrincipalIdentifiers, shared between
500 * pkinit.asn1: Add ExternalPrincipalIdentifiers, shared between
503 2006-04-28 Love Hörnquist Åstrand <lha@it.su.se>
505 * parse.y: Add missing ;'s, found by bison on a SuSE 8.2 machine.
507 2006-04-26 Love Hörnquist Åstrand <lha@it.su.se>
509 * Makefile.am: Add definitions from RFC 3820, Proxy Certificate
512 * rfc2459.asn1: Add definitions from RFC 3820, Proxy Certificate
515 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
517 * rfc2459.asn1: Add id-Userid
519 * Makefile.am: Add UID and email
521 * pkcs9.asn1: Add id-pkcs9-emailAddress
523 * Makefile.am: Add attribute type oids from X520 and RFC 2247 DC
526 * rfc2459.asn1: Add attribute type oids from X520 and RFC 2247 DC
529 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
531 * Makefile.am: add sha-1 and sha-2
533 * rfc2459.asn1: add sha-1 and sha-2
535 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
537 * Makefile.am: Add id-pkcs1-sha256WithRSAEncryption and friends
539 * rfc2459.asn1: Add id-pkcs1-sha256WithRSAEncryption and friends
541 * CMS.asn1: Turn CMSRC2CBCParameter.rc2ParameterVersion into a
544 2006-04-08 Love Hörnquist Åstrand <lha@it.su.se>
546 * hash.c (hashtabnew): check for NULL before setting structure.
547 Coverity, NetBSD CID#4
549 2006-03-31 Love Hörnquist Åstrand <lha@it.su.se>
551 * Makefile.am: gen_files_rfc2459 += asn1_ExtKeyUsage.x
553 * rfc2459.asn1: Add ExtKeyUsage.
555 * gen.c (generate_header_of_codefile): remove unused variable.
557 2006-03-30 Love Hörnquist Åstrand <lha@it.su.se>
559 * gen.c: Put all the IMPORTed headers into the headerfile to avoid
562 2006-03-27 Love Hörnquist Åstrand <lha@it.su.se>
564 * Makefile.am: Add id-pkinit-ms-san.
566 * pkinit.asn1: Add id-pkinit-ms-san.
568 * k5.asn1 (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
570 2006-03-26 Love Hörnquist Åstrand <lha@it.su.se>
572 * Makefile.am: Add pkinit-san.
574 * pkinit.asn1: Rename id-pksan to id-pkinit-san
576 2006-03-08 Love Hörnquist Åstrand <lha@it.su.se>
578 * gen.c (init_generate): Nothing in the generated files needs
579 timegm(), so no need to provide a prototype for it.
581 2006-02-13 Love Hörnquist Åstrand <lha@it.su.se>
583 * pkinit.asn1: paChecksum is now OPTIONAL so it can be upgraded to
584 something better then SHA1
586 2006-01-31 Love Hörnquist Åstrand <lha@it.su.se>
588 * extra.c: Stub-generator now generates alloc statements for
589 tagless ANY OPTIONAL, remove workaround.
591 * check-gen.c: check for "tagless ANY OPTIONAL"
593 * test.asn1: check for "tagless ANY OPTIONAL"
595 2006-01-30 Love Hörnquist Åstrand <lha@it.su.se>
597 * der.h: UniversalString and BMPString are both implemented.
599 * der.h: Remove , after the last element of enum.
601 * asn1_gen.c: Spelling.
603 2006-01-20 Love Hörnquist Åstrand <lha@it.su.se>
605 * der_length.c (length_heim_integer): Try handle negative length
608 * der_get.c (der_get_heim_integer): handle negative integers.
610 * check-der.c: check heim_integer.
612 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
614 * Makefile.am: Its cRLReason, not cRLReasons
616 * canthandle.asn1: "Allocation is done on CONTEXT tags" works just
619 * rfc2459.asn1: Add CRL structures and OIDs.
621 * Makefile.am: Add CRL and TESTAlloc structures and OIDs.
623 * check-gen.c: Check OPTIONAL context-tagless elements.
625 * test.asn1: Check OPTIONAL context-tagless elements.
627 * der_cmp.c (heim_integer_cmp): make it work with negative
630 2006-01-17 Love Hörnquist Åstrand <lha@it.su.se>
632 * check-der.c: check that der_parse_hex_heim_integer() handles odd
635 * der_format.c (der_parse_hex_heim_integer): make more resiliant
636 to errors, handle odd length numbers.
638 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
640 * Makefile.am: Add RSAPrivateKey
642 * rfc2459.asn1: Add RSAPrivateKey.
644 2006-01-05 Love Hörnquist Åstrand <lha@it.su.se>
646 * der_copy.c (copy_heim_integer): copy the negative flag
648 2005-12-14 Love Hörnquist Åstrand <lha@it.su.se>
650 * parse.y: Drop ExceptionSpec for now, its not used.
652 2005-12-06 Love Hörnquist Åstrand <lha@it.su.se>
654 * test.asn1: Add test string for constraints.
656 * symbol.h: Add support for part of the Constraint-s
658 * gen.c: Set new constraints pointer in Type to NULL for inline
661 * parse.y: Add support for parsing part of the Constraint-s
663 2005-10-29 Love Hörnquist Åstrand <lha@it.su.se>
665 * Makefile.am: Add some X9.57 (DSA) oids, sort lines
667 * rfc2459.asn1: Add some X9.57 (DSA) oids.
669 2005-10-07 Love Hörnquist Åstrand <lha@it.su.se>
671 * Makefile.am: Remove pk-init-19 support.
673 * pkinit.asn1: Fix comment
675 * check-der.c: Add tests for parse and print functions for
678 * Makefile.am: Add parse and print functions for heim_integer.
680 * der_format.c: Add parse and print functions for heim_integer.
682 * der.h: Add parse and print functions for heim_integer.
684 2005-09-22 Love Hörnquist Åstrand <lha@it.su.se>
686 * Makefile.am (gen_files_rfc2459) += asn1_DHPublicKey.x
688 * rfc2459.asn1: Add DHPublicKey, and INTEGER to for storing the DH
689 public key in the SubjectPublicKeyInfo.subjectPublicKey BIT
692 2005-09-20 Love Hörnquist Åstrand <lha@it.su.se>
694 * gen_decode.c: TSequenceOf/TSetOf: Increase the length of the
695 array after successful decoding the next element, so that the
696 array don't contain heap-data.
698 2005-09-13 Love Hörnquist Åstrand <lha@it.su.se>
700 * check-der.c: Avoid empty array initiators.
702 * pkcs8.asn1 (PKCS8PrivateKeyInfo): Inline SET OF to avoid
705 * check-common.c: Avoid signedness warnings.
707 * check-common.h: Makes bytes native platform signed to avoid
710 * check-der.c: Don't depend on malloc(very-very-larger-value) will
711 fail. Cast to unsigned long before printing size_t.
713 * check-gen.c: Don't depend on malloc(very-very-larger-value) will
716 * check-gen.c: Fix signedness warnings.
718 * lex.l: unput() have to hanppen in actions for flex 2.5.31, can
719 do them in user code sesction, so move up handle_comment and
720 handle_string into action, not much sharing was done anyway.
722 2005-09-09 Love Hörnquist Åstrand <lha@it.su.se>
724 * check-der.c (test_one_int): len and len_len is size_t
726 2005-08-23 Love Hörnquist Åstrand <lha@it.su.se>
728 * gen_encode.c: Change name of oldret for each instance its used
729 to avoid shadow warning. From: Stefan Metzmacher
732 * gen_length.c: Change name of oldret for each instance its used
733 to avoid shadow warning. From: Stefan Metzmacher
736 * gen_decode.c: Change name of oldret for each instance its used
737 to avoid shadow warning. From: Stefan Metzmacher
740 * parse.y: Const poision yyerror.
742 * gen.c: Const poision.
744 2005-08-22 Love Hörnquist Åstrand <lha@it.su.se>
746 * k5.asn1: Add KRB5-PADATA-PK-AS-09-BINDING, client send
747 this (with an empty pa-data.padata-value) to tell the KDC that the
748 client support the binding the PA-REP to the AS-REQ packet. This
749 is to fix the problem lack of binding the AS-REQ to the PK-AS-REP
750 in pre PK-INIT-27. The nonce is replaced with a asCheckSum.
752 2005-08-11 Love Hörnquist Åstrand <lha@it.su.se>
754 * canthandle.asn1: Allocation is done on CONTEXT tags.
756 * asn1_gen.c: rename optind to optidx to avoid shadow warnings
758 2005-07-28 Love Hörnquist Åstrand <lha@it.su.se>
760 * rfc2459.asn1: add id-rsadsi-rc2-cbc
762 * Makefile.am: add another oid for rc2
764 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
766 * check-der.c: Make variable initiation constant by moving them to
769 * check-gen.c: change to c89 comment
771 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
773 * Makefile.am: remove duplicate asn1_CMSAttributes.x
775 2005-07-26 Love Hörnquist Åstrand <lha@it.su.se>
777 * asn1_print.c: rename optind to optidx
779 * Makefile.am: Update to pkinit-27
781 * pkinit.asn1: Update to pkinit-27
783 2005-07-25 Love Hörnquist Åstrand <lha@it.su.se>
785 * check-der.c: make it work for non c99 compilers too
787 * check-der.c: start testing BIT STRING
789 * der_cmp.c (heim_bit_string_cmp): try handle corner cases better
791 * gen_free.c (free_type): free bignum integers
793 2005-07-23 Love Hörnquist Åstrand <lha@it.su.se>
795 * Makefile.am: add PKCS12-OctetString
797 * pkcs12.asn1: add PKCS12-OctetString
799 * Makefile.am: add new files
801 * rfc2459.asn1: include SET OF in Attribute to make the type more
804 * CMS.asn1: handle IMPLICIT and share some common structures
806 2005-07-21 Love Hörnquist Åstrand <lha@it.su.se>
808 * rfc2459.asn1: Include enough workarounds that this even might
811 * check-gen.c: Two implicit tests, one with all structures inlined
813 * test.asn1: fix workaround for IMPLICIT CONS case
815 * canthandle.asn1: fix workaround for IMPLICIT CONS case
817 * asn1_print.c: hint that there are IMPLICIT content when we find
820 * check-gen.c: Added #ifdef out test for IMPLICIT tagging.
822 * Makefile.am: test several IMPLICIT tag level deep
824 * test.asn1: test several IMPLICIT tag level deep
826 * test.asn1: tests for IMPLICIT
828 * Makefile.am: tests for IMPLICIT
830 * canthandle.asn1: Expand on what is wrong with the IMPLICIT
833 * rfc2459.asn1: some of the structure are in the IMPLICIT TAGS
836 2005-07-19 Love Hörnquist Åstrand <lha@it.su.se>
838 * asn1_print.c: print size_t by casting to unsigned long and use
839 right printf format tags are unsigned integers
841 * gen.c (generate_constant): oid elements are unsigned
843 * gen_decode.c (decode_type): tagdatalen should be an size_t.
845 * extra.c (decode_heim_any): tag is unsigned int.
847 * der_get.c (der_match_tag): tag is unsigned int.
849 * gen_length.c (length_type): cast size_t argument to unsigned
850 long and use appropriate printf format
852 * check-der.c (check_fail_bitstring): check for length overflow
854 * der_get.c: rewrite integer overflow tests w/o SIZE_T_MAX
856 * check-common.c (generic_decode_fail): only copy in if checklen
857 its less then 0xffffff and larger than 0.
859 * gen_decode.c (find_tag): find external references, we can't
860 handle those, so tell user that instead of crashing
862 2005-07-18 Dave Love <fx@gnu.org>
864 * extra.c (free_heim_any_set): Fix return.
866 * gen_decode.c (find_tag): Fix return in TType case.
868 2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
870 * gen_encode.c (TChoice): add () to make sure variable expression
871 is evaluated correctly
873 * gen_length.c (TChoice): add () to make sure variable expression
874 is evaluated correctly
876 * k5.asn1: reapply 1.43 that got lost in the merge: rename pvno to
879 2005-07-12 Love Hörnquist Åstrand <lha@it.su.se>
881 * gen_decode.c (decode_type): TChoice: set the label
883 * check-gen.c (cmp_Name): do at least some checking
885 * gen_locl.h: rename function filename() to get_filename() to
888 * lex.l: rename function filename() to get_filename() to avoid
891 * gen.c: rename function filename() to get_filename() to avoid
894 * check-der.c: add failure checks for large oid elements
896 * check-gen.c: add failure checks for tag (and large tags)
898 * der_get.c: Check for integer overflows in tags and oid elements.
900 2005-07-10 Assar Westerlund <assar@kth.se>
902 * gen_decode.c: Fix decoding of choices to select which branch to
903 try based on the tag and return an error if that branch fails.
905 * check-gen.c: Fix short choice test cases.
907 2005-07-09 Assar Westerlund <assar@kth.se>
925 Use emalloc, ecalloc, and estrdup.
926 Check return value from asprintf.
927 Make sure that malloc(0) returning NULL is not treated as an
930 2005-07-10 Love Hörnquist Åstrand <lha@it.su.se>
932 * check-gen.c: test cases for CHOICE, its too liberal right now,
933 it don't fail hard on failure on after it successfully decoded the
934 first tag in a choice branch
936 * asn1_gen.c: calculate the basename for the output file,
937 pretty-print tag number
939 * test.gen: sample for asn1_gen
941 * check-gen.c: check errors in SEQUENCE
943 * Makefile.am: build asn1_gen, TESTSeq and new, and class/type/tag
944 string<->num converter.
946 * test.asn1: TESTSeq, for testing SEQUENCE
948 * asn1_gen.c: generator for asn1 data
950 * asn1_print.c: use class/type/tag string<->num converter.
952 * der.c: Add class/type/tag string<->num converter.
954 * der.h: Add class/type/tag string<->num converter.
955 Prototypes/structures for new time bits.
957 2005-07-09 Love Hörnquist Åstrand <lha@it.su.se>
959 * der_get.c (der_get_unsigned) check for length overflow
960 (der_get_integer) ditto
961 (der_get_general_string) ditto
963 * der_get.c: check for overruns using SIZE_T_MAX
965 * check-der.c: check BIT STRING and OBJECT IDENTIFIER error cases
967 * check-common.c (generic_decode_fail): allocate 4K for the over
970 * der_get.c (der_get_oid): check for integer overruns and
971 unterminated oid correctly
973 * check-common.h (map_alloc, generic_decode_fail): prototypes
975 * check-common.c (map_alloc): make input buffer const
976 (generic_decode_fail): verify decoding failures
978 2005-07-05 Love Hörnquist Åstrand <lha@it.su.se>
980 * gen_encode.c: split up the printf for SET OF, also use the
981 generate name for the symbol in the SET OF, if not, the name might
982 contain non valid variable name characters (like -)
984 2005-07-04 Love Hörnquist Åstrand <lha@it.su.se>
986 * Makefile.am: move pkcs12 defines into their own namespace
988 * pkcs12.asn1: move pkcs12 defines into their own namespace
990 * pkcs9.asn1: add PKCS9-friendlyName with workaround for SET OF
993 * heim_asn1.h: reuse heim_octet_string for heim_any types
995 * main.c: use optidx, handle the case where name is missing and
996 use base of filename then
998 * asn1-common.h: include ASN1_MALLOC_ENCODE
1000 * gen_decode.c: use less context so lower indentention level, add
1001 missing {} where needed
1003 2005-07-02 Love Hörnquist Åstrand <lha@it.su.se>
1005 * gen_copy.c: Use a global variable to keep track of if the 'goto
1006 fail' was used, and use that to only generate the label if needed.
1008 * asn1_print.c: do indefinite form loop detection and stop after
1009 10000 recursive indefinite forms, stops crashing due to running
1012 * asn1_print.c: catch badly formated indefinite length data
1013 (missing EndOfContent tag) add (negative) indent flag to speed up
1016 2005-07-01 Love Hörnquist Åstrand <lha@it.su.se>
1018 * canthandle.asn1: Can't handle primitives in CHOICE
1020 * gen_decode.c: Check if malloc failes
1022 * gen_copy.c: Make sure to free memory on failure
1024 * gen_decode.c: Check if malloc failes, rename "reallen" to
1025 tagdatalen since that is what it is.
1027 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
1029 * prefix Der_class with ASN1_C_ to avoid problems with system
1030 headerfiles that pollute the name space
1032 2005-05-20 Love Hörnquist Åstrand <lha@it.su.se>
1034 * pkcs12.asn1: add PKCS12CertBag
1036 * pkcs9.asn1: add pkcs9 certtype x509 certificate
1038 * Makefile.am: add pkcs12 certbag and pkcs9 certtype x509
1041 * pkcs12.asn1: split off PKCS12Attributes from SafeBag so it can
1044 * Makefile.am: add PKCS12Attributes
1046 2005-05-10 Love Hörnquist Åstrand <lha@it.su.se>
1048 * canthandle.asn1: fix tags in example
1050 2005-05-02 Love Hörnquist Åstrand <lha@it.su.se>
1052 * pkinit.asn1: Let the Windows nonce be an int32 (signed), if not
1053 it will fail when using Windows PK-INIT.
1055 2005-05-01 Love Hörnquist Åstrand <lha@it.su.se>
1057 * Makefile.am: add pkcs12-PBEParams
1059 * pkcs12.asn1: add pkcs12-PBEParams
1061 * parse.y: objid_element: exit when the condition fails
1063 2005-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1065 * gen_glue.c: 1.8: switch the units variable to a
1066 function. gcc-4.1 needs the size of the structure if its defined
1067 as extern struct units foo_units[] an we don't want to include
1068 <parse_units.h> in the generate headerfile
1070 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
1072 * Makefile.am: add the des-ede3-cbc oid that ansi x9.52 uses
1074 * rfc2459.asn1: add the des-ede3-cbc oid that ansi x9.52 uses
1076 * Makefile.am: add oids for x509
1078 * rfc2459.asn1: add oids now when the compiler can handle them
1080 2005-03-19 Love Hörnquist Åstrand <lha@it.su.se>
1082 * Makefile.am: add pkcs9 files
1084 * pkcs9.asn1: add small number of oids from pkcs9
1086 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
1088 * Makefile.am: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1090 * rfc2459.asn1: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1092 2005-03-10 Love Hörnquist Åstrand <lha@it.su.se>
1094 * k5.asn1: merge pa-numbers
1096 2005-03-09 Love Hörnquist Åstrand <lha@it.su.se>
1098 * Makefile.am: add oid's
1100 * rfc2459.asn1: add encryption oids
1102 * CMS.asn1: add signedAndEnvelopedData oid
1104 * pkcs12.asn1: add pkcs12 oids
1106 * CMS.asn1: add pkcs7 oids
1108 2005-03-08 Love Hörnquist Åstrand <lha@it.su.se>
1110 * gen.c (generate_header_of_codefile): break out the header
1112 (generate_constant): generate a function that return the oid
1115 * parse.y: fix the ordering of the oid's
1117 * parse.y: handle OBJECT IDENTIFIER as value construct
1119 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
1121 * Preserve content of CHOICE element that is unknown if ellipsis
1122 was used when defining the structure
1124 2005-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1126 * parse.y: use ANS1_TAILQ macros
1128 * *.[ch]: use ASN1_TAILQ macros
1130 * asn1_queue.h: inline bsd sys/queue.h and rename TAILQ to
1131 ASN1_TAILQ to avoid problems with name polluting headerfiles
1133 2005-01-19 Love Hörnquist Åstrand <lha@it.su.se>
1135 * gen.c: pull in <krb5-types.h>
1137 2005-01-10 Love Hörnquist Åstrand <lha@it.su.se>
1139 * Add BMPString and UniversalString
1141 * k5.asn1 (EtypeList): make INTEGER constrained (use krb5int32)
1143 2005-01-07 Love Hörnquist Åstrand <lha@it.su.se>
1145 * rfc2459.asn1: add GeneralNames
1147 2004-11-21 Love Hörnquist Åstrand <lha@it.su.se>
1149 * gen.c: use unsigned integer for len of SequenceOf/SetOf and
1152 2004-11-10 Love Hörnquist Åstrand <lha@it.su.se>
1154 * Makefile.am: switch to krb5int32 and krb5uint32
1156 * Unify that three integer types TInteger TUInteger and TBigInteger.
1157 Start to use constrained integers where appropriate.
1159 2004-10-13 Love Hörnquist Åstrand <lha@it.su.se>
1161 * CMS.asn1: remove no longer used commented out elements
1163 * gen_glue.c: make units structures const
1165 2004-10-12 Love Hörnquist Åstrand <lha@it.su.se>
1167 * lex.l: handle hex number with [a-fA-F] in them
1169 2004-10-07 Love Hörnquist Åstrand <lha@it.su.se>
1171 * gen_free.c: free _save for CHOICE too
1173 * rfc2459.asn1: use Name and not heim_any
1175 * gen_decode.c: if malloc for _save failes, goto fail so we free
1178 * gen_copy.c: copy _save for CHOICE too
1180 * gen.c: add _save for CHOICE too
1182 * CMS.asn1: RecipientIdentifier and SignerIdentifier is the same
1183 name is CMSIdentifier and add glue for that so we can share code
1184 use Name and not heim_any
1186 2004-10-03 Love Hörnquist Åstrand <lha@it.su.se>
1188 * Makefile.am: drop AlgorithmIdentifierNonOpt add
1189 {RC2CBC,}CBCParameter here where they belong
1191 * CMS.asn1: add {RC2CBC,}CBCParameter here where they belong
1193 * rfc2459.asn1: drop AlgorithmIdentifierNonOpt
1195 * rfc2459.asn1: stop using AlgorithmIdentifierNonOpt hint that we
1196 really want to use Name and some MS stuff
1198 2004-09-05 Love Hörnquist Åstrand <lha@it.su.se>
1200 * asn1_print.c: handle end of content, this is part BER support,
1201 however, OCTET STRING need some tweeking too.
1203 * der.h: add UT_EndOfContent
1205 * test.asn1: test asn1 spec file
1207 * check-gen.c: check larget tags
1209 * Makefile.am: add test asn1 spec file that we can use for testing
1210 constructs that doesn't exists in already existing spec (like
1213 * der_put.c (der_put_tag): make sure there are space for the head
1214 tag when we are dealing with large tags (>30)
1216 * check-gen.c: add test for tag length
1218 * check-common.c: export the map_ functions for OVERRUN/UNDERRUN
1219 detection restore the SIGSEGV handler when test is done
1221 * check-common.h: export the map_ functions for OVERRUN/UNDERRUN
1224 * gen_decode.c: check that the tag-length is not longer the length
1225 use forwstr on some more places
1227 * parse.y: revert part of 1.14.2.21, multiple IMPORT isn't allowed
1229 * pkinit.asn1: correct usage of IMPORT
1231 * CMS.asn1: correct usage of IMPORT
1233 * pkcs8.asn1: pkcs8, encrypting private key
1235 * pkcs12.asn1: pkcs12, key/crl/certificate file transport PDU
1237 * Makefile.am: add pkcs8 and pkcs12
1239 * der_free.c: reset length when freing primitives
1241 * CMS.asn1: add EncryptedData
1243 2004-08-26 Love Hörnquist Åstrand <lha@it.su.se>
1245 * gen_decode.c (decode_type): if the entry is already optional
1246 when parsing a tag and we allocate the structure, not pass down
1247 optional since that will case the subtype's decode_type also to
1248 allocate an entry. and we'll leak an entry. Bug from Luke Howard
1249 <lukeh@padl.com>. While here, use calloc.
1251 2004-04-29 Love Hörnquist Åstrand <lha@it.su.se>
1253 * k5.asn1: shift the last added etypes one step so rc2 doesn't
1256 2004-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1258 * k5.asn1: add ETYPE_AESNNN_CBC_NONE
1260 * CMS.asn1: add CMS symmetrical parameters moved to k5.asn1
1262 * k5.asn1: add CMS symmetrical parameters here, more nametypes
1265 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
1267 * gen_decode.c: free data on decode failure
1269 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
1271 * Makefile.am: add CBCParameter and RC2CBCParameter
1273 * CMS.asn1: add CBCParameter and RC2CBCParameter
1275 2004-04-20 Love Hörnquist Åstrand <lha@it.su.se>
1277 * check-der.c: add simple test for oid's, used to trigger malloc
1278 bugs in you have picky malloc (like valgrind/purify/third)
1280 * der_get.c (der_get_oid): handle all oid components being smaller
1281 then 127 and allocate one extra element since first byte is split
1284 2004-04-16 Love Hörnquist Åstrand <lha@it.su.se>
1286 * canthandle.asn1: one thing handled
1288 * gen_decode.c: handle OPTIONAL CONS-tag-less elements
1290 * der_length.c (length_len): since length is no longer the same as
1291 an unsigned, do the length counting here. ("unsigned" is zero
1292 padded when most significate bit is set, length is not)
1294 2004-04-12 Love Hörnquist Åstrand <lha@it.su.se>
1296 * canthandle.asn1: document by example what the encoder can't
1299 * Makefile.am: add more stuff needed whem implementing x509
1300 preserve TBSCertificate
1302 * rfc2459.asn1: add more stuff needed whem implementing x509
1304 * CMS.asn1: move some type to rfc2459.asn1 where they belong (and
1307 * gen.c: preserve the raw data when asked too
1309 * gen_decode.c: preserve the raw data when asked too
1311 * gen_copy.c: preserve the raw data when asked too
1313 * gen_free.c: preserve the raw data when asked too
1315 * gen_locl.h: add preserve_type
1317 * heim_asn1.h: add heim_any_cmp
1319 * main.c: add flag --preserve-binary=Symbol1,Symbol2,... that make
1320 the compiler generate stubs to save the raw data, its not used
1321 right now when generating the stat
1323 * k5.asn1: Windows uses PADATA 15 for the request too
1325 * extra.c: add heim_any_cmp
1327 * der_put.c: implement UTCtime correctly
1329 * der_locl.h: remove #ifdef HAVE_TIMEGM\ntimegm\n#endif here from
1330 der.h so one day der.h can get installed
1332 * der_length.c: implement UTCtime correctly
1334 * der_get.c: implement UTCtime correctly, prefix dce_fix with
1337 * der_copy.c: make copy_bit_string work again
1339 * der_cmp.c: add octet_string, integer, bit_string cmp functions
1341 * der.h: hide away more symbols, add more _cmp functions
1343 2004-03-06 Love Hörnquist Åstrand <lha@it.su.se>
1345 * Makefile.am: add more pkix types make k5 use rfc150 bitstrings,
1346 everything else use der bitstrings
1348 * main.c: as a compile time option, handle no rfc1510 bitstrings
1350 * gen_locl.h: rfc1510 bitstrings flag
1352 * gen_length.c: as a compile time option, handle no rfc1510
1355 * gen_encode.c: as a compile time option, handle no rfc1510
1358 * gen_decode.c: handle no rfc1510 bitstrings
1360 * check-gen.c: test for bitstrings
1362 * rfc2459.asn1: add Certificates and KeyUsage
1364 2004-02-22 Love Hörnquist Åstrand <lha@it.su.se>
1366 * pkinit.asn1: use Name from PKIX
1368 * rfc2459.asn1: add more silly string types to DirectoryString
1370 * gen_encode.c: add checks for data overflow when encoding
1371 TBitString with members encode SET OF correctly by bytewise
1374 * gen_decode.c: add checks for data overrun when encoding
1375 TBitString with members
1377 * der_put.c: add _heim_der_set_sort
1379 * der_cmp.c: rename oid_cmp to heim_oid_cmp
1381 * der.h: rename oid_cmp to heim_oid_cmp, add _heim_der_set_sort
1383 * check-gen.c: add check for Name and (commented out) heim_integer
1385 * check-der.c: test for "der_length.c: Fix len_unsigned for
1386 certain negative integers, it got the length wrong" , from
1389 * der_length.c: Fix len_unsigned for certain negative integers, it
1390 got the length wrong, fix from Panasas, Inc.
1392 rename len_int and len_unsigned to _heim_\&
1394 * gen_length.c: 1.14: (length_type): TSequenceOf: add up the size
1395 of all the elements, don't use just the size of the last element.
1397 2004-02-20 Love Hörnquist Åstrand <lha@it.su.se>
1399 * rfc2459.asn1: include defintion of Name
1401 * pkinit.asn1: no need for ContentType, its cms internal
1403 * CMS.asn1: move ContentInfo to CMS
1405 * pkinit.asn1: update to pk-init-18, move ContentInfo to CMS
1407 * Makefile.am: align with pk-init-18, move contentinfo to cms
1409 2004-02-17 Love Hörnquist Åstrand <lha@it.su.se>
1411 * der_get.c: rewrite previous commit
1413 * der_get.c (der_get_heim_integer): handle positive integer
1416 * der_length.c (der_put_heim_integer): try handle negative
1419 * der_put.c (der_put_heim_integer): try handle negative integers
1422 * der_get.c (der_get_heim_integer): dont abort on negative integer just
1423 return ASN1_OVERRUN for now
1425 * parse.y: add ia5string, and printablestring
1427 * gen_length.c: add ia5string, and printablestring
1429 * gen_free.c: add ia5string, and printablestring
1431 * gen_decode.c: add ia5string, and printablestring
1433 * gen_copy.c: add ia5string, and printablestring
1435 * gen.c: add ia5string, printablestring, and utf8string change
1436 implemetation of heim_integer and store the data as bigendian byte
1437 array with a external flag for signedness
1439 * der_put.c: add ia5string, printablestring, and utf8string change
1440 implemetation of heim_integer and store the data as bigendian byte
1441 array with a external flag for signedness
1443 * der_length.c: add ia5string, printablestring, and utf8string
1444 change implemetation of heim_integer and store the data as
1445 bigendian byte array with a external flag for signedness
1447 * der_get.c: add ia5string, printablestring, and utf8string change
1448 implemetation of heim_integer and store the data as bigendian byte
1449 array with a external flag for signedness
1451 * der_free.c: add ia5string, printablestring, and utf8string
1453 * der_copy.c: add ia5string, printablestring, and utf8string
1455 * der.h: add ia5string, printablestring, and utf8string
1457 * asn1-common.h: add signedness flag to heim_integer, add
1458 ia5string and printablestring
1460 2004-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1462 * rfc2459.asn1: use BIGINTEGER where appropriate
1464 * setchgpw2.asn1: spelling and add op-req again
1466 2004-02-12 Love Hörnquist Åstrand <lha@it.su.se>
1468 * Makefile.am: clean up better
1470 2004-02-11 Love Hörnquist Åstrand <lha@it.su.se>
1472 * gen_decode.c (decode_type): TTag, don't overshare the reallen
1475 * Makefile.am: adapt to log file name change
1477 * gen.c: genereate log file name based on base name
1479 2003-11-26 Love Hörnquist Åstrand <lha@it.su.se>
1481 * Makefile.am: += asn1_AlgorithmIdentifierNonOpt.x
1483 * rfc2459.asn1: add AlgorithmIdentifierNonOpt and use it where
1484 it's needed, make DomainParameters.validationParms heim_any as a
1485 hack. Both are workarounds for the problem with heimdal's asn1
1486 compiler have with decoing context tagless OPTIONALs.
1488 * pkinit.asn1: don't import AlgorithmIdentifier
1490 2003-11-25 Love Hörnquist Åstrand <lha@it.su.se>
1492 * der_put.c (der_put_bit_string): make it work somewhat better
1493 (should really prune off all trailing zeros)
1495 * gen_encode.c (encode_type): bit string is not a constructed type
1497 * der_length.c (length_bit_string): calculate right length for
1500 2003-11-24 Love Hörnquist Åstrand <lha@it.su.se>
1502 * der_cmp.c (oid_cmp): compare the whole array, not just
1503 length/sizeof(component)
1505 * check-common.c: mmap the scratch areas, mprotect before and
1506 after, align data to the edge of the mprotect()ed area to provoke
1509 * Makefile.am: add DomainParameters, ValidationParms
1511 * rfc2459.asn1: add DomainParameters, ValidationParms
1513 * check-der.c: add free function
1515 * check-common.h: add free function
1517 * check-common.c: add free function
1519 * check-gen.c: check KRB-ERROR
1521 * asn1_print.c: check end of tag_names loop into APPL class tags
1523 2003-11-23 Love Hörnquist Åstrand <lha@it.su.se>
1525 * der_put.c (der_put_generalized_time): check size, not *size
1527 2003-11-11 Love Hörnquist Åstrand <lha@it.su.se>
1529 * gen_decode.c (decode_type/TBitString): skip over
1530 skipped-bits-in-last-octet octet
1532 * gen_glue.c (generate_units): generate units in reverse order to
1533 keep unparse_units happy
1535 2003-11-08 Love Hörnquist Åstrand <lha@it.su.se>
1537 * Makefile.am: generate all silly pkinit files
1539 * pkinit.asn1: make it work again, add strange ms structures
1541 * k5.asn1: PROV-SRV-LOCATION, PacketCable provisioning server
1542 location, PKT-SP-SEC-I09-030728
1544 * asn1-common.h: add bit string
1546 * der_put.c: add bit string and utctime
1548 * gen.c: add bit string and utctime
1550 * gen_copy.c: add bit string and utctime
1552 * der_copy.c: add bit string
1554 * gen_decode.c: add utctime and bitstring
1556 * gen_encode.c: add utctime and bitstring
1558 * gen_free.c: add utctime and bitstring
1560 * gen_glue.c: don't generate glue for member-less bit strings
1562 * der_cmp.c: compare function for oids
1564 * gen_length.c: add utc time, make bit string work for bits
1565 strings w/o any members
1567 * der_cmp.c: compare function for oids
1569 * der.h: update boolean prototypes add utctime and bit_string
1571 * der_free.c: add free_bit_string
1573 * der_get.c: add bit string and utctime
1575 * der_length.c: add bit string and utctime, fix memory leak in
1576 length_generalized_time
1578 * CMS.asn1: make EncryptedContentInfo.encryptedContent a OCTET
1579 STRING to make the generator do the right thing with IMPLICIT
1580 mumble OPTIONAL, make CertificateSet a heim_any_set
1582 * extra.c, heim_asn1.h: add any_set, instead of just consuming one
1583 der object, its consumes the rest of the data avaible
1585 * extra.c, heim_asn1.h: extern implementation of ANY, decoder
1586 needs to have hack removed when generator handles tagless optional
1589 * pkinit.asn1: add KdcDHKeyInfo-Win2k
1591 2003-11-07 Love Hörnquist Åstrand <lha@it.su.se>
1593 * der_copy.c (copy_oid): copy all components
1595 * parse.y: parse UTCTime, allow multiple IMPORT
1597 * symbol.h: add TUTCTime
1599 * rfc2459.asn1: update
1603 * pkinit.asn1: update
1605 * CMS.asn1: new file
1607 * asn1_print.c: print some more lengths, check length before
1608 steping out in the void, parse SET, only go down CONTEXT of type
1611 2003-09-17 Love Hörnquist Åstrand <lha@it.su.se>
1613 * gen_encode.c (TChoice, TSequence): code element in reverse
1616 2003-09-16 Love Hörnquist Åstrand <lha@it.su.se>
1618 * gen.c: store NULL's as int's for now
1620 * parse.y: remove dup of type def of UsefulType
1622 2003-09-11 Love Hörnquist Åstrand <lha@it.su.se>
1624 * gen_decode.c (decode_type): if malloc failes, return ENOMEM
1626 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1628 * parse.y: kw_UTF8String is a token put tag around the OID
1630 * asn1_print.c (UT_Integer): when the integer is larger then int
1631 can handle, just print BIG INT and its size
1633 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1635 * gen_decode.c (decode_type): TTag, try to generate prettier code
1636 in the non optional case, also remember to update length
1638 2003-01-22 Johan Danielsson <joda@pdc.kth.se>
1640 * gen_decode.c: add flag to decode broken DCE BER encoding
1642 * gen_locl.h: add flag to decode broken DCE BER encoding
1644 * main.c: add flag to decode broken DCE BER encoding