1 2008-01-13 Love Hörnquist Åstrand <lha@it.su.se>
3 * asn1-common.h gen.c der.c gen_encode.c: add and use der_{malloc,free}
5 2007-12-13 Love Hörnquist Åstrand <lha@it.su.se>
7 * libasn1.h: remove, not used.
9 2007-12-04 Love Hörnquist Åstrand <lha@it.su.se>
11 * Makefile.am: Add DigestTypes, add --seq to antoher type.
13 * digest.asn1: Add supportedMechs request.
15 2007-10-18 Love Hörnquist Åstrand <lha@it.su.se>
17 * k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
19 2007-07-23 Love Hörnquist Åstrand <lha@it.su.se>
21 * Makefile.am: Fold in pk-init-alg-agilty.
23 * pkinit.asn1: Fold in pk-init-alg-agilty.
25 2007-07-16 Love Hörnquist Åstrand <lha@it.su.se>
27 * parse.y: Passe object id is its part of the module defintion
30 2007-07-14 Love Hörnquist Åstrand <lha@it.su.se>
32 * check-gen.c: test SEQ OF SIZE (...)
34 * Makefile.am: Include more sizeof tests.
36 2007-07-12 Love Hörnquist Åstrand <lha@it.su.se>
38 * try to avoid aliasing of pointers enum {} vs int
40 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
42 * test.asn1: Test SIZE attribute for SEQ and OCTET STRING
44 * parse.y (OctetStringType): add SIZE to OCTET STRING.
46 * Makefile.am: New library version.
48 2007-07-02 Love Hörnquist Åstrand <lha@it.su.se>
50 * rfc2459.asn1: Re-add size limits.
52 * k5.asn1: Add size limits from RFC 4120.
54 * gen_decode.c: Check range on SEQ OF and OCTET STRING.
56 * asn1_err.et (min|max|exact) constraints.
58 * parse.y: Parse size limitations to SEQ OF.
60 2007-06-28 Love Hörnquist Åstrand <lha@it.su.se>
62 * Makefile.am: Add AuthorityInfoAccessSyntax.
64 * rfc2459.asn1: Add AuthorityInfoAccessSyntax.
66 * rfc2459.asn1: Add authorityInfoAccess, rename proxyCertInfo.
68 * Makefile.am: Add authorityInfoAccess, rename proxyCertInfo.
70 2007-06-27 Love Hörnquist Åstrand <lha@it.su.se>
72 * der_get.c (der_get_time): avoid using wrapping of octet_string
75 * der_get.c: No need to undef timetm, we don't use it any more.
77 * timegm.c: Fix spelling caused by too much query-replace.
79 * gen.c: Include <limits.h> for UINT_MAX.
81 * gen_decode.c: Check for multipication overrun.
83 * gen_encode.c: Paranoia check in buffer overun in output
86 * check-der.c: Test boolean.
88 * check-der.c: test universal strings.
90 * check-der.c: Test failure cases for der_get_tag.
92 * check-der.c: test dates from last century.
94 * check-der.c: Move zero length integercheck to a better place.
96 * check-der.c: Test zero length integer.
98 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
100 * check-der.c: Init data to something.
102 2007-06-15 Love Hörnquist Åstrand <lha@it.su.se>
104 * k5.asn1: Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
106 2007-06-13 Love Hörnquist Åstrand <lha@it.su.se>
108 * pkinit.asn1: Make the pkinit nonce signed (like the kerberos
111 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
113 * check-der.c: Free more memory.
115 * der_format.c: Don't accect zero length hex numbers.
117 * check-der.c: Also free right memory.
119 * main.c: Close asn1 file when done.
121 * check-der.c: more check for der_parse_hex_heim_integer
123 * der_format.c (der_parse_hex_heim_integer): check length before
126 * check-gen.c (test_authenticator): free memory
128 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
130 * Makefile.am: add MS-UPN-SAN
132 * pkinit.asn1: add MS-UPN-SAN
134 * rfc2459.asn1: Do evil things to handle IMPLICIT encoded
135 structures. Add id-ms-client-authentication.
137 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
139 * Makefile.am: Add asn1_id_ms_cert_enroll_domaincontroller.x
141 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
143 * gen.c: Add struct units; as a forward declaration. Pointed out
146 * rfc2459.asn1: Netscape extentions
148 * Makefile.am: add U.S. Federal PKI Common Policy Framework
150 * rfc2459.asn1: add U.S. Federal PKI Common Policy Framework
152 2007-04-24 Love Hörnquist Åstrand <lha@it.su.se>
154 * gen_seq.c: Handle the case of resize to 0 and realloc that
157 * check-gen.c (check_seq): free seq.
159 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
161 * check-der.c (test_heim_oid_format_same): avoid leaking memory in
162 the non failure case too
164 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
166 * Makefile.am: remove extra ^Q
168 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
170 * der_get.c: Allow trailing NULs. We allow this since MIT Kerberos
171 sends an strings in the NEED_PREAUTH case that includes a trailing
174 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
177 * Makefile.am: Add PA-ClientCanonicalized and friends.
179 * k5.asn1: Add PA-ClientCanonicalized and friends.
181 2007-02-08 Love Hörnquist Åstrand <lha@it.su.se>
183 * check-der.c: Drop one over INT_MAX test-case.
185 2007-02-05 Love Hörnquist Åstrand <lha@it.su.se>
187 * pkinit.asn1: add id-pkinit-ms-eku
189 * pkinit.asn1: fill in more bits of id-pkinit-ms-san
191 2007-02-02 Love Hörnquist Åstrand <lha@it.su.se>
193 * digest.asn1: rename hash-a1 to session key
195 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
197 * digest.asn1: Add elements to send in requestResponse to KDC and
198 get status of the request.
200 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
202 * Makefile.am: seq rules for CRLDistributionPoints
204 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
206 * Makefile.am: add CRLDistributionPoints and friends
208 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
210 * check-der.c: check BMPstring oddlength more
212 * check-der.c: Test for NUL char in string in GENERAL STRING.
214 * der_get.c: Check for NUL characters in string and return
215 ASN1_BAD_CHARACTER error-code if we find them.
217 * asn1_err.et: Add BAD_CHARACTER error.
219 2007-01-16 Love Hörnquist Åstrand <lha@it.su.se>
221 * Makefile.am: Add id-at-streetAddress.
223 * rfc2459.asn1: Add id-at-streetAddress.
225 2007-01-12 Love Hörnquist Åstrand <lha@it.su.se>
227 * rfc2459.asn1: Add PKIXXmppAddr and id-pkix-on-xmppAddr.
229 2006-12-30 Love Hörnquist Åstrand <lha@it.su.se>
231 * Makefile.am: Add id-pkix-kp oids.
233 * rfc2459.asn1: Add id-pkix-kp oids.
235 2006-12-29 Love Hörnquist Åstrand <lha@it.su.se>
237 * gen_encode.c: Named bit strings have this horrible, disgusting,
238 compress bits until they are no longer really there but stuff in
239 an initial octet anyway encoding scheme. Try to get it right and
240 calculate the initial octet runtime instead of compiletime.
242 * check-gen.c: Check all other silly bitstring combinations.
244 * Makefile.am: Add --sequence=Extensions to rfc2459.
246 2006-12-28 Love Hörnquist Åstrand <lha@it.su.se>
248 * kx509.asn1: Add kx509.
250 * Makefile.am: Add kx509.
252 * Add VisibleString parsing
254 2006-12-15 Love Hörnquist Åstrand <lha@it.su.se>
256 * Makefile.am: Add ntlm files.
258 * digest.asn1: Add bits for handling NTLM.
260 2006-12-08 Love Hörnquist Åstrand <lha@it.su.se>
262 * Makefile.am: add pkix proxy cert policy lang oids
264 * rfc2459.asn1: add pkix proxy cert policy lang oids
266 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
268 * rfc2459.asn1: unbreak id-pe-proxyCertInfo
270 * rfc2459.asn1: Add id-pkix-on-dnsSRV and related oids
272 2006-11-28 Love Hörnquist Åstrand <lha@it.su.se>
274 * Makefile.am: Add explicit depenency to LIB_roken for libasn1.la,
277 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
279 * der_format.c (der_print_heim_oid): oid with zero length is
280 invalid, fail to print.
282 2006-11-24 Love Hörnquist Åstrand <lha@it.su.se>
284 * der_format.c (der_print_heim_oid): use delim when printing.
286 2006-11-21 Love Hörnquist Åstrand <lha@it.su.se>
288 * k5.asn1: Make KRB5-PADATA-S4U2SELF pa type 129.
290 2006-10-24 Love Hörnquist Åstrand <lha@it.su.se>
292 * asn1_err.et: add EXTRA_DATA
294 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
296 * check-gen.c: avoid leaking memory
298 * check-der.c: avoid leaking memory
300 * der_format.c (der_parse_heim_oid): avoid leaking memory
302 * check-common.c: Print size_t as (unsigned long) and cast.
304 * check-common.c: Try to align data, IA64's gets upset if its
307 * lex.l: add missing */
309 * lex.c: need %e for hpux lex
311 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
313 * Makefile.am: remove dups from gen_files_test, add check-timegm.
315 * Makefile.am: include more test.asn1 built files
317 * Makefile.am: More files, now for make check.
319 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
321 * Makefile.am: Add missing files
323 * Makefile.am (asn1_compile_SOURCES): add gen_locl.h
325 * check-timegm.c: Add check for _der_timegm.
327 * der_get.c (generalizedtime2time): always use _der_timegm.
329 * timegm.c: make more strict
331 * der_locl.h: Rename timegm to _der_timegm.
333 2006-10-17 Love Hörnquist Åstrand <lha@it.su.se>
335 * timegm.c: vJust fail if tm_mon is out of range for now XXXX this
338 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
340 * Makefile.am: extra depencies on der-protos.h
342 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
344 * check-der.c: Prefix primitive types with der_.
346 * timegm.c: rename the buildin timegm to _der_timegm
348 * heim_asn1.h: move prototype away from here.
350 * der_format.c: Add der_parse_heim_oid
352 * gen_free.c: prefix primitive types with der_
354 * der_copy.c: prefix primitive types with der_
356 * gen_length.c: prefix primitive types with der_
358 * der_length.c: prefix primitive types with der_
360 * der_cmp.c: prefix primitive types with der_
362 * gen_free.c: prefix primitive types with der_
364 * der_free.c: prefix primitive types with der_
366 * gen_copy.c: prefix primitive types with der_
368 * der_copy.c: rename copy_ to der_copy_
370 * Makefile.am: Add der-protos.h to nodist_include_HEADERS.
372 * der.h: use newly built <der-protos.h>
374 * Makefile.am: Generate der prototypes.
376 * gen.c: move any definitions here.
378 * asn1-common.h: move any definitions here.
380 * der.h: remove der_parse_oid prototype, it was never implemented.
382 * der.h: New der_print_heim_oid signature. Test
385 * check-der.c: New der_print_heim_oid signature. Test
388 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
390 * lex.l: Grow an even larger output table size.
392 * Makefile.am: split build files into dist_ and noinst_ SOURCES
394 2006-10-04 Love Hörnquist Åstrand <lha@it.su.se>
396 * gen_seq.c: In generation of remove_TYPE: if you just removed the
397 last element, you must not memmove memory beyond the array. From
400 2006-10-01 Love Hörnquist Åstrand <lha@it.su.se>
402 * lex.l: Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald
405 2006-09-24 Love Hörnquist Åstrand <lha@it.su.se>
407 * gen_decode.c (decode_type): drop unused variable realtype.
409 2006-09-11 Love Hörnquist Åstrand <lha@it.su.se>
411 * Makefile.am: Add KRB5SignedPath and friends.
413 * k5.asn1: Add KRB5SignedPath and friends.
415 * Makefile.am: Add new sequence generation for GeneralNames.
417 2006-09-07 Love Hörnquist Åstrand <lha@it.su.se>
419 * CMS.asn1 (CMSVersion): rename versions from v0 to CMSVersion_v0,
422 2006-09-05 Love Hörnquist Åstrand <lha@it.su.se>
424 * Makefile.am: Add TESTSeqOf for testing sequence generation code.
426 * check-gen.c: Add sequence tests.
428 * test.asn1: Add TESTSeqOf for testing sequence generation code.
430 * gen_seq.c: fix warning.
432 * gen_seq.c: make generated data work
434 * setchgpw2.asn1: enctype is part of the krb5 module now, use that
435 instead of locally defining it.
437 * Makefile.am: asn1_compile += gen_seq.c
439 * gen_locl.h: add new prototypes, remove unused ones.
441 * gen.c: Generate sequence function.
443 * main.c: add --sequence
445 * gen_seq.c: Add generated add_ and remove_ for "SEQUENCE OF
446 TType". I'm tried of writing realloc(foo->data,
447 sizeof(foo->data[0]) + (foo->len + 1)); Only generated for those
448 type that is enabled by the command flag --sequence.
450 2006-08-25 Love Hörnquist Åstrand <lha@it.su.se>
452 * digest.asn1 (DigestRequest): add authid
454 * digest.asn1: Comment describing on how to communicate the sasl
457 2006-08-23 Love Hörnquist Åstrand <lha@it.su.se>
459 * digest.asn1: Add some missing fields needed for digest.
461 2006-08-21 Love Hörnquist Åstrand <lha@it.su.se>
463 * digest.asn1: Tweak to make consisten and more easier to use.
465 2006-07-20 Love Hörnquist Åstrand <lha@it.su.se>
467 * Makefile.am: Remove CMS symmetric encryption support. Add
470 * digest.asn1: DigestProtocol
472 * k5.asn1: Remove CMS symmetric encryption support.
474 2006-06-22 Love Hörnquist Åstrand <lha@it.su.se>
476 * check-der.c (check_fail_heim_integer): disable test
478 * der_get.c (der_get_heim_integer): revert part of previous
480 * der_get.c (der_get_heim_integer): Add more checks
482 * asn1_print.c: Add printing of bignums and use der_print_heim_oid
484 * check-der.c (test_heim_oid_format_same): add printing on failure
486 * check-der.c: Add one check for heim_int, add checking for oid
489 2006-06-06 Love Hörnquist Åstrand <lha@it.su.se>
491 * Makefile.am: Impersonation support bits (and sort)
493 * k5.asn1: Impersonation support bits.
495 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
497 * der_format.c (der_parse_hex_heim_integer): avoid shadowing.
499 2006-04-29 Love Hörnquist Åstrand <lha@it.su.se>
501 * Makefile.am: Add ExternalPrincipalIdentifiers, shared between
504 * pkinit.asn1: Add ExternalPrincipalIdentifiers, shared between
507 2006-04-28 Love Hörnquist Åstrand <lha@it.su.se>
509 * parse.y: Add missing ;'s, found by bison on a SuSE 8.2 machine.
511 2006-04-26 Love Hörnquist Åstrand <lha@it.su.se>
513 * Makefile.am: Add definitions from RFC 3820, Proxy Certificate
516 * rfc2459.asn1: Add definitions from RFC 3820, Proxy Certificate
519 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
521 * rfc2459.asn1: Add id-Userid
523 * Makefile.am: Add UID and email
525 * pkcs9.asn1: Add id-pkcs9-emailAddress
527 * Makefile.am: Add attribute type oids from X520 and RFC 2247 DC
530 * rfc2459.asn1: Add attribute type oids from X520 and RFC 2247 DC
533 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
535 * Makefile.am: add sha-1 and sha-2
537 * rfc2459.asn1: add sha-1 and sha-2
539 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
541 * Makefile.am: Add id-pkcs1-sha256WithRSAEncryption and friends
543 * rfc2459.asn1: Add id-pkcs1-sha256WithRSAEncryption and friends
545 * CMS.asn1: Turn CMSRC2CBCParameter.rc2ParameterVersion into a
548 2006-04-08 Love Hörnquist Åstrand <lha@it.su.se>
550 * hash.c (hashtabnew): check for NULL before setting structure.
551 Coverity, NetBSD CID#4
553 2006-03-31 Love Hörnquist Åstrand <lha@it.su.se>
555 * Makefile.am: gen_files_rfc2459 += asn1_ExtKeyUsage.x
557 * rfc2459.asn1: Add ExtKeyUsage.
559 * gen.c (generate_header_of_codefile): remove unused variable.
561 2006-03-30 Love Hörnquist Åstrand <lha@it.su.se>
563 * gen.c: Put all the IMPORTed headers into the headerfile to avoid
566 2006-03-27 Love Hörnquist Åstrand <lha@it.su.se>
568 * Makefile.am: Add id-pkinit-ms-san.
570 * pkinit.asn1: Add id-pkinit-ms-san.
572 * k5.asn1 (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
574 2006-03-26 Love Hörnquist Åstrand <lha@it.su.se>
576 * Makefile.am: Add pkinit-san.
578 * pkinit.asn1: Rename id-pksan to id-pkinit-san
580 2006-03-08 Love Hörnquist Åstrand <lha@it.su.se>
582 * gen.c (init_generate): Nothing in the generated files needs
583 timegm(), so no need to provide a prototype for it.
585 2006-02-13 Love Hörnquist Åstrand <lha@it.su.se>
587 * pkinit.asn1: paChecksum is now OPTIONAL so it can be upgraded to
588 something better then SHA1
590 2006-01-31 Love Hörnquist Åstrand <lha@it.su.se>
592 * extra.c: Stub-generator now generates alloc statements for
593 tagless ANY OPTIONAL, remove workaround.
595 * check-gen.c: check for "tagless ANY OPTIONAL"
597 * test.asn1: check for "tagless ANY OPTIONAL"
599 2006-01-30 Love Hörnquist Åstrand <lha@it.su.se>
601 * der.h: UniversalString and BMPString are both implemented.
603 * der.h: Remove , after the last element of enum.
605 * asn1_gen.c: Spelling.
607 2006-01-20 Love Hörnquist Åstrand <lha@it.su.se>
609 * der_length.c (length_heim_integer): Try handle negative length
612 * der_get.c (der_get_heim_integer): handle negative integers.
614 * check-der.c: check heim_integer.
616 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
618 * Makefile.am: Its cRLReason, not cRLReasons
620 * canthandle.asn1: "Allocation is done on CONTEXT tags" works just
623 * rfc2459.asn1: Add CRL structures and OIDs.
625 * Makefile.am: Add CRL and TESTAlloc structures and OIDs.
627 * check-gen.c: Check OPTIONAL context-tagless elements.
629 * test.asn1: Check OPTIONAL context-tagless elements.
631 * der_cmp.c (heim_integer_cmp): make it work with negative
634 2006-01-17 Love Hörnquist Åstrand <lha@it.su.se>
636 * check-der.c: check that der_parse_hex_heim_integer() handles odd
639 * der_format.c (der_parse_hex_heim_integer): make more resiliant
640 to errors, handle odd length numbers.
642 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
644 * Makefile.am: Add RSAPrivateKey
646 * rfc2459.asn1: Add RSAPrivateKey.
648 2006-01-05 Love Hörnquist Åstrand <lha@it.su.se>
650 * der_copy.c (copy_heim_integer): copy the negative flag
652 2005-12-14 Love Hörnquist Åstrand <lha@it.su.se>
654 * parse.y: Drop ExceptionSpec for now, its not used.
656 2005-12-06 Love Hörnquist Åstrand <lha@it.su.se>
658 * test.asn1: Add test string for constraints.
660 * symbol.h: Add support for part of the Constraint-s
662 * gen.c: Set new constraints pointer in Type to NULL for inline
665 * parse.y: Add support for parsing part of the Constraint-s
667 2005-10-29 Love Hörnquist Åstrand <lha@it.su.se>
669 * Makefile.am: Add some X9.57 (DSA) oids, sort lines
671 * rfc2459.asn1: Add some X9.57 (DSA) oids.
673 2005-10-07 Love Hörnquist Åstrand <lha@it.su.se>
675 * Makefile.am: Remove pk-init-19 support.
677 * pkinit.asn1: Fix comment
679 * check-der.c: Add tests for parse and print functions for
682 * Makefile.am: Add parse and print functions for heim_integer.
684 * der_format.c: Add parse and print functions for heim_integer.
686 * der.h: Add parse and print functions for heim_integer.
688 2005-09-22 Love Hörnquist Åstrand <lha@it.su.se>
690 * Makefile.am (gen_files_rfc2459) += asn1_DHPublicKey.x
692 * rfc2459.asn1: Add DHPublicKey, and INTEGER to for storing the DH
693 public key in the SubjectPublicKeyInfo.subjectPublicKey BIT
696 2005-09-20 Love Hörnquist Åstrand <lha@it.su.se>
698 * gen_decode.c: TSequenceOf/TSetOf: Increase the length of the
699 array after successful decoding the next element, so that the
700 array don't contain heap-data.
702 2005-09-13 Love Hörnquist Åstrand <lha@it.su.se>
704 * check-der.c: Avoid empty array initiators.
706 * pkcs8.asn1 (PKCS8PrivateKeyInfo): Inline SET OF to avoid
709 * check-common.c: Avoid signedness warnings.
711 * check-common.h: Makes bytes native platform signed to avoid
714 * check-der.c: Don't depend on malloc(very-very-larger-value) will
715 fail. Cast to unsigned long before printing size_t.
717 * check-gen.c: Don't depend on malloc(very-very-larger-value) will
720 * check-gen.c: Fix signedness warnings.
722 * lex.l: unput() have to hanppen in actions for flex 2.5.31, can
723 do them in user code sesction, so move up handle_comment and
724 handle_string into action, not much sharing was done anyway.
726 2005-09-09 Love Hörnquist Åstrand <lha@it.su.se>
728 * check-der.c (test_one_int): len and len_len is size_t
730 2005-08-23 Love Hörnquist Åstrand <lha@it.su.se>
732 * gen_encode.c: Change name of oldret for each instance its used
733 to avoid shadow warning. From: Stefan Metzmacher
736 * gen_length.c: Change name of oldret for each instance its used
737 to avoid shadow warning. From: Stefan Metzmacher
740 * gen_decode.c: Change name of oldret for each instance its used
741 to avoid shadow warning. From: Stefan Metzmacher
744 * parse.y: Const poision yyerror.
746 * gen.c: Const poision.
748 2005-08-22 Love Hörnquist Åstrand <lha@it.su.se>
750 * k5.asn1: Add KRB5-PADATA-PK-AS-09-BINDING, client send
751 this (with an empty pa-data.padata-value) to tell the KDC that the
752 client support the binding the PA-REP to the AS-REQ packet. This
753 is to fix the problem lack of binding the AS-REQ to the PK-AS-REP
754 in pre PK-INIT-27. The nonce is replaced with a asCheckSum.
756 2005-08-11 Love Hörnquist Åstrand <lha@it.su.se>
758 * canthandle.asn1: Allocation is done on CONTEXT tags.
760 * asn1_gen.c: rename optind to optidx to avoid shadow warnings
762 2005-07-28 Love Hörnquist Åstrand <lha@it.su.se>
764 * rfc2459.asn1: add id-rsadsi-rc2-cbc
766 * Makefile.am: add another oid for rc2
768 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
770 * check-der.c: Make variable initiation constant by moving them to
773 * check-gen.c: change to c89 comment
775 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
777 * Makefile.am: remove duplicate asn1_CMSAttributes.x
779 2005-07-26 Love Hörnquist Åstrand <lha@it.su.se>
781 * asn1_print.c: rename optind to optidx
783 * Makefile.am: Update to pkinit-27
785 * pkinit.asn1: Update to pkinit-27
787 2005-07-25 Love Hörnquist Åstrand <lha@it.su.se>
789 * check-der.c: make it work for non c99 compilers too
791 * check-der.c: start testing BIT STRING
793 * der_cmp.c (heim_bit_string_cmp): try handle corner cases better
795 * gen_free.c (free_type): free bignum integers
797 2005-07-23 Love Hörnquist Åstrand <lha@it.su.se>
799 * Makefile.am: add PKCS12-OctetString
801 * pkcs12.asn1: add PKCS12-OctetString
803 * Makefile.am: add new files
805 * rfc2459.asn1: include SET OF in Attribute to make the type more
808 * CMS.asn1: handle IMPLICIT and share some common structures
810 2005-07-21 Love Hörnquist Åstrand <lha@it.su.se>
812 * rfc2459.asn1: Include enough workarounds that this even might
815 * check-gen.c: Two implicit tests, one with all structures inlined
817 * test.asn1: fix workaround for IMPLICIT CONS case
819 * canthandle.asn1: fix workaround for IMPLICIT CONS case
821 * asn1_print.c: hint that there are IMPLICIT content when we find
824 * check-gen.c: Added #ifdef out test for IMPLICIT tagging.
826 * Makefile.am: test several IMPLICIT tag level deep
828 * test.asn1: test several IMPLICIT tag level deep
830 * test.asn1: tests for IMPLICIT
832 * Makefile.am: tests for IMPLICIT
834 * canthandle.asn1: Expand on what is wrong with the IMPLICIT
837 * rfc2459.asn1: some of the structure are in the IMPLICIT TAGS
840 2005-07-19 Love Hörnquist Åstrand <lha@it.su.se>
842 * asn1_print.c: print size_t by casting to unsigned long and use
843 right printf format tags are unsigned integers
845 * gen.c (generate_constant): oid elements are unsigned
847 * gen_decode.c (decode_type): tagdatalen should be an size_t.
849 * extra.c (decode_heim_any): tag is unsigned int.
851 * der_get.c (der_match_tag): tag is unsigned int.
853 * gen_length.c (length_type): cast size_t argument to unsigned
854 long and use appropriate printf format
856 * check-der.c (check_fail_bitstring): check for length overflow
858 * der_get.c: rewrite integer overflow tests w/o SIZE_T_MAX
860 * check-common.c (generic_decode_fail): only copy in if checklen
861 its less then 0xffffff and larger than 0.
863 * gen_decode.c (find_tag): find external references, we can't
864 handle those, so tell user that instead of crashing
866 2005-07-18 Dave Love <fx@gnu.org>
868 * extra.c (free_heim_any_set): Fix return.
870 * gen_decode.c (find_tag): Fix return in TType case.
872 2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
874 * gen_encode.c (TChoice): add () to make sure variable expression
875 is evaluated correctly
877 * gen_length.c (TChoice): add () to make sure variable expression
878 is evaluated correctly
880 * k5.asn1: reapply 1.43 that got lost in the merge: rename pvno to
883 2005-07-12 Love Hörnquist Åstrand <lha@it.su.se>
885 * gen_decode.c (decode_type): TChoice: set the label
887 * check-gen.c (cmp_Name): do at least some checking
889 * gen_locl.h: rename function filename() to get_filename() to
892 * lex.l: rename function filename() to get_filename() to avoid
895 * gen.c: rename function filename() to get_filename() to avoid
898 * check-der.c: add failure checks for large oid elements
900 * check-gen.c: add failure checks for tag (and large tags)
902 * der_get.c: Check for integer overflows in tags and oid elements.
904 2005-07-10 Assar Westerlund <assar@kth.se>
906 * gen_decode.c: Fix decoding of choices to select which branch to
907 try based on the tag and return an error if that branch fails.
909 * check-gen.c: Fix short choice test cases.
911 2005-07-09 Assar Westerlund <assar@kth.se>
929 Use emalloc, ecalloc, and estrdup.
930 Check return value from asprintf.
931 Make sure that malloc(0) returning NULL is not treated as an
934 2005-07-10 Love Hörnquist Åstrand <lha@it.su.se>
936 * check-gen.c: test cases for CHOICE, its too liberal right now,
937 it don't fail hard on failure on after it successfully decoded the
938 first tag in a choice branch
940 * asn1_gen.c: calculate the basename for the output file,
941 pretty-print tag number
943 * test.gen: sample for asn1_gen
945 * check-gen.c: check errors in SEQUENCE
947 * Makefile.am: build asn1_gen, TESTSeq and new, and class/type/tag
948 string<->num converter.
950 * test.asn1: TESTSeq, for testing SEQUENCE
952 * asn1_gen.c: generator for asn1 data
954 * asn1_print.c: use class/type/tag string<->num converter.
956 * der.c: Add class/type/tag string<->num converter.
958 * der.h: Add class/type/tag string<->num converter.
959 Prototypes/structures for new time bits.
961 2005-07-09 Love Hörnquist Åstrand <lha@it.su.se>
963 * der_get.c (der_get_unsigned) check for length overflow
964 (der_get_integer) ditto
965 (der_get_general_string) ditto
967 * der_get.c: check for overruns using SIZE_T_MAX
969 * check-der.c: check BIT STRING and OBJECT IDENTIFIER error cases
971 * check-common.c (generic_decode_fail): allocate 4K for the over
974 * der_get.c (der_get_oid): check for integer overruns and
975 unterminated oid correctly
977 * check-common.h (map_alloc, generic_decode_fail): prototypes
979 * check-common.c (map_alloc): make input buffer const
980 (generic_decode_fail): verify decoding failures
982 2005-07-05 Love Hörnquist Åstrand <lha@it.su.se>
984 * gen_encode.c: split up the printf for SET OF, also use the
985 generate name for the symbol in the SET OF, if not, the name might
986 contain non valid variable name characters (like -)
988 2005-07-04 Love Hörnquist Åstrand <lha@it.su.se>
990 * Makefile.am: move pkcs12 defines into their own namespace
992 * pkcs12.asn1: move pkcs12 defines into their own namespace
994 * pkcs9.asn1: add PKCS9-friendlyName with workaround for SET OF
997 * heim_asn1.h: reuse heim_octet_string for heim_any types
999 * main.c: use optidx, handle the case where name is missing and
1000 use base of filename then
1002 * asn1-common.h: include ASN1_MALLOC_ENCODE
1004 * gen_decode.c: use less context so lower indentention level, add
1005 missing {} where needed
1007 2005-07-02 Love Hörnquist Åstrand <lha@it.su.se>
1009 * gen_copy.c: Use a global variable to keep track of if the 'goto
1010 fail' was used, and use that to only generate the label if needed.
1012 * asn1_print.c: do indefinite form loop detection and stop after
1013 10000 recursive indefinite forms, stops crashing due to running
1016 * asn1_print.c: catch badly formated indefinite length data
1017 (missing EndOfContent tag) add (negative) indent flag to speed up
1020 2005-07-01 Love Hörnquist Åstrand <lha@it.su.se>
1022 * canthandle.asn1: Can't handle primitives in CHOICE
1024 * gen_decode.c: Check if malloc failes
1026 * gen_copy.c: Make sure to free memory on failure
1028 * gen_decode.c: Check if malloc failes, rename "reallen" to
1029 tagdatalen since that is what it is.
1031 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
1033 * prefix Der_class with ASN1_C_ to avoid problems with system
1034 headerfiles that pollute the name space
1036 2005-05-20 Love Hörnquist Åstrand <lha@it.su.se>
1038 * pkcs12.asn1: add PKCS12CertBag
1040 * pkcs9.asn1: add pkcs9 certtype x509 certificate
1042 * Makefile.am: add pkcs12 certbag and pkcs9 certtype x509
1045 * pkcs12.asn1: split off PKCS12Attributes from SafeBag so it can
1048 * Makefile.am: add PKCS12Attributes
1050 2005-05-10 Love Hörnquist Åstrand <lha@it.su.se>
1052 * canthandle.asn1: fix tags in example
1054 2005-05-02 Love Hörnquist Åstrand <lha@it.su.se>
1056 * pkinit.asn1: Let the Windows nonce be an int32 (signed), if not
1057 it will fail when using Windows PK-INIT.
1059 2005-05-01 Love Hörnquist Åstrand <lha@it.su.se>
1061 * Makefile.am: add pkcs12-PBEParams
1063 * pkcs12.asn1: add pkcs12-PBEParams
1065 * parse.y: objid_element: exit when the condition fails
1067 2005-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1069 * gen_glue.c: 1.8: switch the units variable to a
1070 function. gcc-4.1 needs the size of the structure if its defined
1071 as extern struct units foo_units[] an we don't want to include
1072 <parse_units.h> in the generate headerfile
1074 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
1076 * Makefile.am: add the des-ede3-cbc oid that ansi x9.52 uses
1078 * rfc2459.asn1: add the des-ede3-cbc oid that ansi x9.52 uses
1080 * Makefile.am: add oids for x509
1082 * rfc2459.asn1: add oids now when the compiler can handle them
1084 2005-03-19 Love Hörnquist Åstrand <lha@it.su.se>
1086 * Makefile.am: add pkcs9 files
1088 * pkcs9.asn1: add small number of oids from pkcs9
1090 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
1092 * Makefile.am: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1094 * rfc2459.asn1: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1096 2005-03-10 Love Hörnquist Åstrand <lha@it.su.se>
1098 * k5.asn1: merge pa-numbers
1100 2005-03-09 Love Hörnquist Åstrand <lha@it.su.se>
1102 * Makefile.am: add oid's
1104 * rfc2459.asn1: add encryption oids
1106 * CMS.asn1: add signedAndEnvelopedData oid
1108 * pkcs12.asn1: add pkcs12 oids
1110 * CMS.asn1: add pkcs7 oids
1112 2005-03-08 Love Hörnquist Åstrand <lha@it.su.se>
1114 * gen.c (generate_header_of_codefile): break out the header
1116 (generate_constant): generate a function that return the oid
1119 * parse.y: fix the ordering of the oid's
1121 * parse.y: handle OBJECT IDENTIFIER as value construct
1123 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
1125 * Preserve content of CHOICE element that is unknown if ellipsis
1126 was used when defining the structure
1128 2005-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1130 * parse.y: use ANS1_TAILQ macros
1132 * *.[ch]: use ASN1_TAILQ macros
1134 * asn1_queue.h: inline bsd sys/queue.h and rename TAILQ to
1135 ASN1_TAILQ to avoid problems with name polluting headerfiles
1137 2005-01-19 Love Hörnquist Åstrand <lha@it.su.se>
1139 * gen.c: pull in <krb5-types.h>
1141 2005-01-10 Love Hörnquist Åstrand <lha@it.su.se>
1143 * Add BMPString and UniversalString
1145 * k5.asn1 (EtypeList): make INTEGER constrained (use krb5int32)
1147 2005-01-07 Love Hörnquist Åstrand <lha@it.su.se>
1149 * rfc2459.asn1: add GeneralNames
1151 2004-11-21 Love Hörnquist Åstrand <lha@it.su.se>
1153 * gen.c: use unsigned integer for len of SequenceOf/SetOf and
1156 2004-11-10 Love Hörnquist Åstrand <lha@it.su.se>
1158 * Makefile.am: switch to krb5int32 and krb5uint32
1160 * Unify that three integer types TInteger TUInteger and TBigInteger.
1161 Start to use constrained integers where appropriate.
1163 2004-10-13 Love Hörnquist Åstrand <lha@it.su.se>
1165 * CMS.asn1: remove no longer used commented out elements
1167 * gen_glue.c: make units structures const
1169 2004-10-12 Love Hörnquist Åstrand <lha@it.su.se>
1171 * lex.l: handle hex number with [a-fA-F] in them
1173 2004-10-07 Love Hörnquist Åstrand <lha@it.su.se>
1175 * gen_free.c: free _save for CHOICE too
1177 * rfc2459.asn1: use Name and not heim_any
1179 * gen_decode.c: if malloc for _save failes, goto fail so we free
1182 * gen_copy.c: copy _save for CHOICE too
1184 * gen.c: add _save for CHOICE too
1186 * CMS.asn1: RecipientIdentifier and SignerIdentifier is the same
1187 name is CMSIdentifier and add glue for that so we can share code
1188 use Name and not heim_any
1190 2004-10-03 Love Hörnquist Åstrand <lha@it.su.se>
1192 * Makefile.am: drop AlgorithmIdentifierNonOpt add
1193 {RC2CBC,}CBCParameter here where they belong
1195 * CMS.asn1: add {RC2CBC,}CBCParameter here where they belong
1197 * rfc2459.asn1: drop AlgorithmIdentifierNonOpt
1199 * rfc2459.asn1: stop using AlgorithmIdentifierNonOpt hint that we
1200 really want to use Name and some MS stuff
1202 2004-09-05 Love Hörnquist Åstrand <lha@it.su.se>
1204 * asn1_print.c: handle end of content, this is part BER support,
1205 however, OCTET STRING need some tweeking too.
1207 * der.h: add UT_EndOfContent
1209 * test.asn1: test asn1 spec file
1211 * check-gen.c: check larget tags
1213 * Makefile.am: add test asn1 spec file that we can use for testing
1214 constructs that doesn't exists in already existing spec (like
1217 * der_put.c (der_put_tag): make sure there are space for the head
1218 tag when we are dealing with large tags (>30)
1220 * check-gen.c: add test for tag length
1222 * check-common.c: export the map_ functions for OVERRUN/UNDERRUN
1223 detection restore the SIGSEGV handler when test is done
1225 * check-common.h: export the map_ functions for OVERRUN/UNDERRUN
1228 * gen_decode.c: check that the tag-length is not longer the length
1229 use forwstr on some more places
1231 * parse.y: revert part of 1.14.2.21, multiple IMPORT isn't allowed
1233 * pkinit.asn1: correct usage of IMPORT
1235 * CMS.asn1: correct usage of IMPORT
1237 * pkcs8.asn1: pkcs8, encrypting private key
1239 * pkcs12.asn1: pkcs12, key/crl/certificate file transport PDU
1241 * Makefile.am: add pkcs8 and pkcs12
1243 * der_free.c: reset length when freing primitives
1245 * CMS.asn1: add EncryptedData
1247 2004-08-26 Love Hörnquist Åstrand <lha@it.su.se>
1249 * gen_decode.c (decode_type): if the entry is already optional
1250 when parsing a tag and we allocate the structure, not pass down
1251 optional since that will case the subtype's decode_type also to
1252 allocate an entry. and we'll leak an entry. Bug from Luke Howard
1253 <lukeh@padl.com>. While here, use calloc.
1255 2004-04-29 Love Hörnquist Åstrand <lha@it.su.se>
1257 * k5.asn1: shift the last added etypes one step so rc2 doesn't
1260 2004-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1262 * k5.asn1: add ETYPE_AESNNN_CBC_NONE
1264 * CMS.asn1: add CMS symmetrical parameters moved to k5.asn1
1266 * k5.asn1: add CMS symmetrical parameters here, more nametypes
1269 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
1271 * gen_decode.c: free data on decode failure
1273 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
1275 * Makefile.am: add CBCParameter and RC2CBCParameter
1277 * CMS.asn1: add CBCParameter and RC2CBCParameter
1279 2004-04-20 Love Hörnquist Åstrand <lha@it.su.se>
1281 * check-der.c: add simple test for oid's, used to trigger malloc
1282 bugs in you have picky malloc (like valgrind/purify/third)
1284 * der_get.c (der_get_oid): handle all oid components being smaller
1285 then 127 and allocate one extra element since first byte is split
1288 2004-04-16 Love Hörnquist Åstrand <lha@it.su.se>
1290 * canthandle.asn1: one thing handled
1292 * gen_decode.c: handle OPTIONAL CONS-tag-less elements
1294 * der_length.c (length_len): since length is no longer the same as
1295 an unsigned, do the length counting here. ("unsigned" is zero
1296 padded when most significate bit is set, length is not)
1298 2004-04-12 Love Hörnquist Åstrand <lha@it.su.se>
1300 * canthandle.asn1: document by example what the encoder can't
1303 * Makefile.am: add more stuff needed whem implementing x509
1304 preserve TBSCertificate
1306 * rfc2459.asn1: add more stuff needed whem implementing x509
1308 * CMS.asn1: move some type to rfc2459.asn1 where they belong (and
1311 * gen.c: preserve the raw data when asked too
1313 * gen_decode.c: preserve the raw data when asked too
1315 * gen_copy.c: preserve the raw data when asked too
1317 * gen_free.c: preserve the raw data when asked too
1319 * gen_locl.h: add preserve_type
1321 * heim_asn1.h: add heim_any_cmp
1323 * main.c: add flag --preserve-binary=Symbol1,Symbol2,... that make
1324 the compiler generate stubs to save the raw data, its not used
1325 right now when generating the stat
1327 * k5.asn1: Windows uses PADATA 15 for the request too
1329 * extra.c: add heim_any_cmp
1331 * der_put.c: implement UTCtime correctly
1333 * der_locl.h: remove #ifdef HAVE_TIMEGM\ntimegm\n#endif here from
1334 der.h so one day der.h can get installed
1336 * der_length.c: implement UTCtime correctly
1338 * der_get.c: implement UTCtime correctly, prefix dce_fix with
1341 * der_copy.c: make copy_bit_string work again
1343 * der_cmp.c: add octet_string, integer, bit_string cmp functions
1345 * der.h: hide away more symbols, add more _cmp functions
1347 2004-03-06 Love Hörnquist Åstrand <lha@it.su.se>
1349 * Makefile.am: add more pkix types make k5 use rfc150 bitstrings,
1350 everything else use der bitstrings
1352 * main.c: as a compile time option, handle no rfc1510 bitstrings
1354 * gen_locl.h: rfc1510 bitstrings flag
1356 * gen_length.c: as a compile time option, handle no rfc1510
1359 * gen_encode.c: as a compile time option, handle no rfc1510
1362 * gen_decode.c: handle no rfc1510 bitstrings
1364 * check-gen.c: test for bitstrings
1366 * rfc2459.asn1: add Certificates and KeyUsage
1368 2004-02-22 Love Hörnquist Åstrand <lha@it.su.se>
1370 * pkinit.asn1: use Name from PKIX
1372 * rfc2459.asn1: add more silly string types to DirectoryString
1374 * gen_encode.c: add checks for data overflow when encoding
1375 TBitString with members encode SET OF correctly by bytewise
1378 * gen_decode.c: add checks for data overrun when encoding
1379 TBitString with members
1381 * der_put.c: add _heim_der_set_sort
1383 * der_cmp.c: rename oid_cmp to heim_oid_cmp
1385 * der.h: rename oid_cmp to heim_oid_cmp, add _heim_der_set_sort
1387 * check-gen.c: add check for Name and (commented out) heim_integer
1389 * check-der.c: test for "der_length.c: Fix len_unsigned for
1390 certain negative integers, it got the length wrong" , from
1393 * der_length.c: Fix len_unsigned for certain negative integers, it
1394 got the length wrong, fix from Panasas, Inc.
1396 rename len_int and len_unsigned to _heim_\&
1398 * gen_length.c: 1.14: (length_type): TSequenceOf: add up the size
1399 of all the elements, don't use just the size of the last element.
1401 2004-02-20 Love Hörnquist Åstrand <lha@it.su.se>
1403 * rfc2459.asn1: include defintion of Name
1405 * pkinit.asn1: no need for ContentType, its cms internal
1407 * CMS.asn1: move ContentInfo to CMS
1409 * pkinit.asn1: update to pk-init-18, move ContentInfo to CMS
1411 * Makefile.am: align with pk-init-18, move contentinfo to cms
1413 2004-02-17 Love Hörnquist Åstrand <lha@it.su.se>
1415 * der_get.c: rewrite previous commit
1417 * der_get.c (der_get_heim_integer): handle positive integer
1420 * der_length.c (der_put_heim_integer): try handle negative
1423 * der_put.c (der_put_heim_integer): try handle negative integers
1426 * der_get.c (der_get_heim_integer): dont abort on negative integer just
1427 return ASN1_OVERRUN for now
1429 * parse.y: add ia5string, and printablestring
1431 * gen_length.c: add ia5string, and printablestring
1433 * gen_free.c: add ia5string, and printablestring
1435 * gen_decode.c: add ia5string, and printablestring
1437 * gen_copy.c: add ia5string, and printablestring
1439 * gen.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_put.c: add ia5string, printablestring, and utf8string change
1444 implemetation of heim_integer and store the data as bigendian byte
1445 array with a external flag for signedness
1447 * der_length.c: add ia5string, printablestring, and utf8string
1448 change implemetation of heim_integer and store the data as
1449 bigendian byte array with a external flag for signedness
1451 * der_get.c: add ia5string, printablestring, and utf8string change
1452 implemetation of heim_integer and store the data as bigendian byte
1453 array with a external flag for signedness
1455 * der_free.c: add ia5string, printablestring, and utf8string
1457 * der_copy.c: add ia5string, printablestring, and utf8string
1459 * der.h: add ia5string, printablestring, and utf8string
1461 * asn1-common.h: add signedness flag to heim_integer, add
1462 ia5string and printablestring
1464 2004-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1466 * rfc2459.asn1: use BIGINTEGER where appropriate
1468 * setchgpw2.asn1: spelling and add op-req again
1470 2004-02-12 Love Hörnquist Åstrand <lha@it.su.se>
1472 * Makefile.am: clean up better
1474 2004-02-11 Love Hörnquist Åstrand <lha@it.su.se>
1476 * gen_decode.c (decode_type): TTag, don't overshare the reallen
1479 * Makefile.am: adapt to log file name change
1481 * gen.c: genereate log file name based on base name
1483 2003-11-26 Love Hörnquist Åstrand <lha@it.su.se>
1485 * Makefile.am: += asn1_AlgorithmIdentifierNonOpt.x
1487 * rfc2459.asn1: add AlgorithmIdentifierNonOpt and use it where
1488 it's needed, make DomainParameters.validationParms heim_any as a
1489 hack. Both are workarounds for the problem with heimdal's asn1
1490 compiler have with decoing context tagless OPTIONALs.
1492 * pkinit.asn1: don't import AlgorithmIdentifier
1494 2003-11-25 Love Hörnquist Åstrand <lha@it.su.se>
1496 * der_put.c (der_put_bit_string): make it work somewhat better
1497 (should really prune off all trailing zeros)
1499 * gen_encode.c (encode_type): bit string is not a constructed type
1501 * der_length.c (length_bit_string): calculate right length for
1504 2003-11-24 Love Hörnquist Åstrand <lha@it.su.se>
1506 * der_cmp.c (oid_cmp): compare the whole array, not just
1507 length/sizeof(component)
1509 * check-common.c: mmap the scratch areas, mprotect before and
1510 after, align data to the edge of the mprotect()ed area to provoke
1513 * Makefile.am: add DomainParameters, ValidationParms
1515 * rfc2459.asn1: add DomainParameters, ValidationParms
1517 * check-der.c: add free function
1519 * check-common.h: add free function
1521 * check-common.c: add free function
1523 * check-gen.c: check KRB-ERROR
1525 * asn1_print.c: check end of tag_names loop into APPL class tags
1527 2003-11-23 Love Hörnquist Åstrand <lha@it.su.se>
1529 * der_put.c (der_put_generalized_time): check size, not *size
1531 2003-11-11 Love Hörnquist Åstrand <lha@it.su.se>
1533 * gen_decode.c (decode_type/TBitString): skip over
1534 skipped-bits-in-last-octet octet
1536 * gen_glue.c (generate_units): generate units in reverse order to
1537 keep unparse_units happy
1539 2003-11-08 Love Hörnquist Åstrand <lha@it.su.se>
1541 * Makefile.am: generate all silly pkinit files
1543 * pkinit.asn1: make it work again, add strange ms structures
1545 * k5.asn1: PROV-SRV-LOCATION, PacketCable provisioning server
1546 location, PKT-SP-SEC-I09-030728
1548 * asn1-common.h: add bit string
1550 * der_put.c: add bit string and utctime
1552 * gen.c: add bit string and utctime
1554 * gen_copy.c: add bit string and utctime
1556 * der_copy.c: add bit string
1558 * gen_decode.c: add utctime and bitstring
1560 * gen_encode.c: add utctime and bitstring
1562 * gen_free.c: add utctime and bitstring
1564 * gen_glue.c: don't generate glue for member-less bit strings
1566 * der_cmp.c: compare function for oids
1568 * gen_length.c: add utc time, make bit string work for bits
1569 strings w/o any members
1571 * der_cmp.c: compare function for oids
1573 * der.h: update boolean prototypes add utctime and bit_string
1575 * der_free.c: add free_bit_string
1577 * der_get.c: add bit string and utctime
1579 * der_length.c: add bit string and utctime, fix memory leak in
1580 length_generalized_time
1582 * CMS.asn1: make EncryptedContentInfo.encryptedContent a OCTET
1583 STRING to make the generator do the right thing with IMPLICIT
1584 mumble OPTIONAL, make CertificateSet a heim_any_set
1586 * extra.c, heim_asn1.h: add any_set, instead of just consuming one
1587 der object, its consumes the rest of the data avaible
1589 * extra.c, heim_asn1.h: extern implementation of ANY, decoder
1590 needs to have hack removed when generator handles tagless optional
1593 * pkinit.asn1: add KdcDHKeyInfo-Win2k
1595 2003-11-07 Love Hörnquist Åstrand <lha@it.su.se>
1597 * der_copy.c (copy_oid): copy all components
1599 * parse.y: parse UTCTime, allow multiple IMPORT
1601 * symbol.h: add TUTCTime
1603 * rfc2459.asn1: update
1607 * pkinit.asn1: update
1609 * CMS.asn1: new file
1611 * asn1_print.c: print some more lengths, check length before
1612 steping out in the void, parse SET, only go down CONTEXT of type
1615 2003-09-17 Love Hörnquist Åstrand <lha@it.su.se>
1617 * gen_encode.c (TChoice, TSequence): code element in reverse
1620 2003-09-16 Love Hörnquist Åstrand <lha@it.su.se>
1622 * gen.c: store NULL's as int's for now
1624 * parse.y: remove dup of type def of UsefulType
1626 2003-09-11 Love Hörnquist Åstrand <lha@it.su.se>
1628 * gen_decode.c (decode_type): if malloc failes, return ENOMEM
1630 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1632 * parse.y: kw_UTF8String is a token put tag around the OID
1634 * asn1_print.c (UT_Integer): when the integer is larger then int
1635 can handle, just print BIG INT and its size
1637 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1639 * gen_decode.c (decode_type): TTag, try to generate prettier code
1640 in the non optional case, also remember to update length
1642 2003-01-22 Johan Danielsson <joda@pdc.kth.se>
1644 * gen_decode.c: add flag to decode broken DCE BER encoding
1646 * gen_locl.h: add flag to decode broken DCE BER encoding
1648 * main.c: add flag to decode broken DCE BER encoding