1 2008-04-07 Love Hörnquist Åstrand <lha@it.su.se>
3 * gen.c: Use unsigned where appropriate.
5 2008-03-22 Love Hörnquist Åstrand <lha@it.su.se>
7 * k5.asn1: Match name in ClientCanonicalizedNames with -10
9 * k5.asn1: add referral-valid-until
11 2008-01-13 Love Hörnquist Åstrand <lha@it.su.se>
13 * asn1-common.h gen.c der.c gen_encode.c: add and use der_{malloc,free}
15 2007-12-13 Love Hörnquist Åstrand <lha@it.su.se>
17 * libasn1.h: remove, not used.
19 2007-12-04 Love Hörnquist Åstrand <lha@it.su.se>
21 * Makefile.am: Add DigestTypes, add --seq to antoher type.
23 * digest.asn1: Add supportedMechs request.
25 2007-10-18 Love Hörnquist Åstrand <lha@it.su.se>
27 * k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
29 2007-07-23 Love Hörnquist Åstrand <lha@it.su.se>
31 * Makefile.am: Fold in pk-init-alg-agilty.
33 * pkinit.asn1: Fold in pk-init-alg-agilty.
35 2007-07-16 Love Hörnquist Åstrand <lha@it.su.se>
37 * parse.y: Passe object id is its part of the module defintion
40 2007-07-14 Love Hörnquist Åstrand <lha@it.su.se>
42 * check-gen.c: test SEQ OF SIZE (...)
44 * Makefile.am: Include more sizeof tests.
46 2007-07-12 Love Hörnquist Åstrand <lha@it.su.se>
48 * try to avoid aliasing of pointers enum {} vs int
50 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
52 * test.asn1: Test SIZE attribute for SEQ and OCTET STRING
54 * parse.y (OctetStringType): add SIZE to OCTET STRING.
56 * Makefile.am: New library version.
58 2007-07-02 Love Hörnquist Åstrand <lha@it.su.se>
60 * rfc2459.asn1: Re-add size limits.
62 * k5.asn1: Add size limits from RFC 4120.
64 * gen_decode.c: Check range on SEQ OF and OCTET STRING.
66 * asn1_err.et (min|max|exact) constraints.
68 * parse.y: Parse size limitations to SEQ OF.
70 2007-06-28 Love Hörnquist Åstrand <lha@it.su.se>
72 * Makefile.am: Add AuthorityInfoAccessSyntax.
74 * rfc2459.asn1: Add AuthorityInfoAccessSyntax.
76 * rfc2459.asn1: Add authorityInfoAccess, rename proxyCertInfo.
78 * Makefile.am: Add authorityInfoAccess, rename proxyCertInfo.
80 2007-06-27 Love Hörnquist Åstrand <lha@it.su.se>
82 * der_get.c (der_get_time): avoid using wrapping of octet_string
85 * der_get.c: No need to undef timetm, we don't use it any more.
87 * timegm.c: Fix spelling caused by too much query-replace.
89 * gen.c: Include <limits.h> for UINT_MAX.
91 * gen_decode.c: Check for multipication overrun.
93 * gen_encode.c: Paranoia check in buffer overun in output
96 * check-der.c: Test boolean.
98 * check-der.c: test universal strings.
100 * check-der.c: Test failure cases for der_get_tag.
102 * check-der.c: test dates from last century.
104 * check-der.c: Move zero length integercheck to a better place.
106 * check-der.c: Test zero length integer.
108 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
110 * check-der.c: Init data to something.
112 2007-06-15 Love Hörnquist Åstrand <lha@it.su.se>
114 * k5.asn1: Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
116 2007-06-13 Love Hörnquist Åstrand <lha@it.su.se>
118 * pkinit.asn1: Make the pkinit nonce signed (like the kerberos
121 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
123 * check-der.c: Free more memory.
125 * der_format.c: Don't accect zero length hex numbers.
127 * check-der.c: Also free right memory.
129 * main.c: Close asn1 file when done.
131 * check-der.c: more check for der_parse_hex_heim_integer
133 * der_format.c (der_parse_hex_heim_integer): check length before
136 * check-gen.c (test_authenticator): free memory
138 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
140 * Makefile.am: add MS-UPN-SAN
142 * pkinit.asn1: add MS-UPN-SAN
144 * rfc2459.asn1: Do evil things to handle IMPLICIT encoded
145 structures. Add id-ms-client-authentication.
147 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
149 * Makefile.am: Add asn1_id_ms_cert_enroll_domaincontroller.x
151 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
153 * gen.c: Add struct units; as a forward declaration. Pointed out
156 * rfc2459.asn1: Netscape extentions
158 * Makefile.am: add U.S. Federal PKI Common Policy Framework
160 * rfc2459.asn1: add U.S. Federal PKI Common Policy Framework
162 2007-04-24 Love Hörnquist Åstrand <lha@it.su.se>
164 * gen_seq.c: Handle the case of resize to 0 and realloc that
167 * check-gen.c (check_seq): free seq.
169 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
171 * check-der.c (test_heim_oid_format_same): avoid leaking memory in
172 the non failure case too
174 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
176 * Makefile.am: remove extra ^Q
178 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
180 * der_get.c: Allow trailing NULs. We allow this since MIT Kerberos
181 sends an strings in the NEED_PREAUTH case that includes a trailing
184 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
187 * Makefile.am: Add PA-ClientCanonicalized and friends.
189 * k5.asn1: Add PA-ClientCanonicalized and friends.
191 2007-02-08 Love Hörnquist Åstrand <lha@it.su.se>
193 * check-der.c: Drop one over INT_MAX test-case.
195 2007-02-05 Love Hörnquist Åstrand <lha@it.su.se>
197 * pkinit.asn1: add id-pkinit-ms-eku
199 * pkinit.asn1: fill in more bits of id-pkinit-ms-san
201 2007-02-02 Love Hörnquist Åstrand <lha@it.su.se>
203 * digest.asn1: rename hash-a1 to session key
205 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
207 * digest.asn1: Add elements to send in requestResponse to KDC and
208 get status of the request.
210 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
212 * Makefile.am: seq rules for CRLDistributionPoints
214 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
216 * Makefile.am: add CRLDistributionPoints and friends
218 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
220 * check-der.c: check BMPstring oddlength more
222 * check-der.c: Test for NUL char in string in GENERAL STRING.
224 * der_get.c: Check for NUL characters in string and return
225 ASN1_BAD_CHARACTER error-code if we find them.
227 * asn1_err.et: Add BAD_CHARACTER error.
229 2007-01-16 Love Hörnquist Åstrand <lha@it.su.se>
231 * Makefile.am: Add id-at-streetAddress.
233 * rfc2459.asn1: Add id-at-streetAddress.
235 2007-01-12 Love Hörnquist Åstrand <lha@it.su.se>
237 * rfc2459.asn1: Add PKIXXmppAddr and id-pkix-on-xmppAddr.
239 2006-12-30 Love Hörnquist Åstrand <lha@it.su.se>
241 * Makefile.am: Add id-pkix-kp oids.
243 * rfc2459.asn1: Add id-pkix-kp oids.
245 2006-12-29 Love Hörnquist Åstrand <lha@it.su.se>
247 * gen_encode.c: Named bit strings have this horrible, disgusting,
248 compress bits until they are no longer really there but stuff in
249 an initial octet anyway encoding scheme. Try to get it right and
250 calculate the initial octet runtime instead of compiletime.
252 * check-gen.c: Check all other silly bitstring combinations.
254 * Makefile.am: Add --sequence=Extensions to rfc2459.
256 2006-12-28 Love Hörnquist Åstrand <lha@it.su.se>
258 * kx509.asn1: Add kx509.
260 * Makefile.am: Add kx509.
262 * Add VisibleString parsing
264 2006-12-15 Love Hörnquist Åstrand <lha@it.su.se>
266 * Makefile.am: Add ntlm files.
268 * digest.asn1: Add bits for handling NTLM.
270 2006-12-08 Love Hörnquist Åstrand <lha@it.su.se>
272 * Makefile.am: add pkix proxy cert policy lang oids
274 * rfc2459.asn1: add pkix proxy cert policy lang oids
276 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
278 * rfc2459.asn1: unbreak id-pe-proxyCertInfo
280 * rfc2459.asn1: Add id-pkix-on-dnsSRV and related oids
282 2006-11-28 Love Hörnquist Åstrand <lha@it.su.se>
284 * Makefile.am: Add explicit depenency to LIB_roken for libasn1.la,
287 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
289 * der_format.c (der_print_heim_oid): oid with zero length is
290 invalid, fail to print.
292 2006-11-24 Love Hörnquist Åstrand <lha@it.su.se>
294 * der_format.c (der_print_heim_oid): use delim when printing.
296 2006-11-21 Love Hörnquist Åstrand <lha@it.su.se>
298 * k5.asn1: Make KRB5-PADATA-S4U2SELF pa type 129.
300 2006-10-24 Love Hörnquist Åstrand <lha@it.su.se>
302 * asn1_err.et: add EXTRA_DATA
304 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
306 * check-gen.c: avoid leaking memory
308 * check-der.c: avoid leaking memory
310 * der_format.c (der_parse_heim_oid): avoid leaking memory
312 * check-common.c: Print size_t as (unsigned long) and cast.
314 * check-common.c: Try to align data, IA64's gets upset if its
317 * lex.l: add missing */
319 * lex.c: need %e for hpux lex
321 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
323 * Makefile.am: remove dups from gen_files_test, add check-timegm.
325 * Makefile.am: include more test.asn1 built files
327 * Makefile.am: More files, now for make check.
329 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
331 * Makefile.am: Add missing files
333 * Makefile.am (asn1_compile_SOURCES): add gen_locl.h
335 * check-timegm.c: Add check for _der_timegm.
337 * der_get.c (generalizedtime2time): always use _der_timegm.
339 * timegm.c: make more strict
341 * der_locl.h: Rename timegm to _der_timegm.
343 2006-10-17 Love Hörnquist Åstrand <lha@it.su.se>
345 * timegm.c: vJust fail if tm_mon is out of range for now XXXX this
348 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
350 * Makefile.am: extra depencies on der-protos.h
352 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
354 * check-der.c: Prefix primitive types with der_.
356 * timegm.c: rename the buildin timegm to _der_timegm
358 * heim_asn1.h: move prototype away from here.
360 * der_format.c: Add der_parse_heim_oid
362 * gen_free.c: prefix primitive types with der_
364 * der_copy.c: prefix primitive types with der_
366 * gen_length.c: prefix primitive types with der_
368 * der_length.c: prefix primitive types with der_
370 * der_cmp.c: prefix primitive types with der_
372 * gen_free.c: prefix primitive types with der_
374 * der_free.c: prefix primitive types with der_
376 * gen_copy.c: prefix primitive types with der_
378 * der_copy.c: rename copy_ to der_copy_
380 * Makefile.am: Add der-protos.h to nodist_include_HEADERS.
382 * der.h: use newly built <der-protos.h>
384 * Makefile.am: Generate der prototypes.
386 * gen.c: move any definitions here.
388 * asn1-common.h: move any definitions here.
390 * der.h: remove der_parse_oid prototype, it was never implemented.
392 * der.h: New der_print_heim_oid signature. Test
395 * check-der.c: New der_print_heim_oid signature. Test
398 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
400 * lex.l: Grow an even larger output table size.
402 * Makefile.am: split build files into dist_ and noinst_ SOURCES
404 2006-10-04 Love Hörnquist Åstrand <lha@it.su.se>
406 * gen_seq.c: In generation of remove_TYPE: if you just removed the
407 last element, you must not memmove memory beyond the array. From
410 2006-10-01 Love Hörnquist Åstrand <lha@it.su.se>
412 * lex.l: Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald
415 2006-09-24 Love Hörnquist Åstrand <lha@it.su.se>
417 * gen_decode.c (decode_type): drop unused variable realtype.
419 2006-09-11 Love Hörnquist Åstrand <lha@it.su.se>
421 * Makefile.am: Add KRB5SignedPath and friends.
423 * k5.asn1: Add KRB5SignedPath and friends.
425 * Makefile.am: Add new sequence generation for GeneralNames.
427 2006-09-07 Love Hörnquist Åstrand <lha@it.su.se>
429 * CMS.asn1 (CMSVersion): rename versions from v0 to CMSVersion_v0,
432 2006-09-05 Love Hörnquist Åstrand <lha@it.su.se>
434 * Makefile.am: Add TESTSeqOf for testing sequence generation code.
436 * check-gen.c: Add sequence tests.
438 * test.asn1: Add TESTSeqOf for testing sequence generation code.
440 * gen_seq.c: fix warning.
442 * gen_seq.c: make generated data work
444 * setchgpw2.asn1: enctype is part of the krb5 module now, use that
445 instead of locally defining it.
447 * Makefile.am: asn1_compile += gen_seq.c
449 * gen_locl.h: add new prototypes, remove unused ones.
451 * gen.c: Generate sequence function.
453 * main.c: add --sequence
455 * gen_seq.c: Add generated add_ and remove_ for "SEQUENCE OF
456 TType". I'm tried of writing realloc(foo->data,
457 sizeof(foo->data[0]) + (foo->len + 1)); Only generated for those
458 type that is enabled by the command flag --sequence.
460 2006-08-25 Love Hörnquist Åstrand <lha@it.su.se>
462 * digest.asn1 (DigestRequest): add authid
464 * digest.asn1: Comment describing on how to communicate the sasl
467 2006-08-23 Love Hörnquist Åstrand <lha@it.su.se>
469 * digest.asn1: Add some missing fields needed for digest.
471 2006-08-21 Love Hörnquist Åstrand <lha@it.su.se>
473 * digest.asn1: Tweak to make consisten and more easier to use.
475 2006-07-20 Love Hörnquist Åstrand <lha@it.su.se>
477 * Makefile.am: Remove CMS symmetric encryption support. Add
480 * digest.asn1: DigestProtocol
482 * k5.asn1: Remove CMS symmetric encryption support.
484 2006-06-22 Love Hörnquist Åstrand <lha@it.su.se>
486 * check-der.c (check_fail_heim_integer): disable test
488 * der_get.c (der_get_heim_integer): revert part of previous
490 * der_get.c (der_get_heim_integer): Add more checks
492 * asn1_print.c: Add printing of bignums and use der_print_heim_oid
494 * check-der.c (test_heim_oid_format_same): add printing on failure
496 * check-der.c: Add one check for heim_int, add checking for oid
499 2006-06-06 Love Hörnquist Åstrand <lha@it.su.se>
501 * Makefile.am: Impersonation support bits (and sort)
503 * k5.asn1: Impersonation support bits.
505 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
507 * der_format.c (der_parse_hex_heim_integer): avoid shadowing.
509 2006-04-29 Love Hörnquist Åstrand <lha@it.su.se>
511 * Makefile.am: Add ExternalPrincipalIdentifiers, shared between
514 * pkinit.asn1: Add ExternalPrincipalIdentifiers, shared between
517 2006-04-28 Love Hörnquist Åstrand <lha@it.su.se>
519 * parse.y: Add missing ;'s, found by bison on a SuSE 8.2 machine.
521 2006-04-26 Love Hörnquist Åstrand <lha@it.su.se>
523 * Makefile.am: Add definitions from RFC 3820, Proxy Certificate
526 * rfc2459.asn1: Add definitions from RFC 3820, Proxy Certificate
529 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
531 * rfc2459.asn1: Add id-Userid
533 * Makefile.am: Add UID and email
535 * pkcs9.asn1: Add id-pkcs9-emailAddress
537 * Makefile.am: Add attribute type oids from X520 and RFC 2247 DC
540 * rfc2459.asn1: Add attribute type oids from X520 and RFC 2247 DC
543 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
545 * Makefile.am: add sha-1 and sha-2
547 * rfc2459.asn1: add sha-1 and sha-2
549 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
551 * Makefile.am: Add id-pkcs1-sha256WithRSAEncryption and friends
553 * rfc2459.asn1: Add id-pkcs1-sha256WithRSAEncryption and friends
555 * CMS.asn1: Turn CMSRC2CBCParameter.rc2ParameterVersion into a
558 2006-04-08 Love Hörnquist Åstrand <lha@it.su.se>
560 * hash.c (hashtabnew): check for NULL before setting structure.
561 Coverity, NetBSD CID#4
563 2006-03-31 Love Hörnquist Åstrand <lha@it.su.se>
565 * Makefile.am: gen_files_rfc2459 += asn1_ExtKeyUsage.x
567 * rfc2459.asn1: Add ExtKeyUsage.
569 * gen.c (generate_header_of_codefile): remove unused variable.
571 2006-03-30 Love Hörnquist Åstrand <lha@it.su.se>
573 * gen.c: Put all the IMPORTed headers into the headerfile to avoid
576 2006-03-27 Love Hörnquist Åstrand <lha@it.su.se>
578 * Makefile.am: Add id-pkinit-ms-san.
580 * pkinit.asn1: Add id-pkinit-ms-san.
582 * k5.asn1 (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
584 2006-03-26 Love Hörnquist Åstrand <lha@it.su.se>
586 * Makefile.am: Add pkinit-san.
588 * pkinit.asn1: Rename id-pksan to id-pkinit-san
590 2006-03-08 Love Hörnquist Åstrand <lha@it.su.se>
592 * gen.c (init_generate): Nothing in the generated files needs
593 timegm(), so no need to provide a prototype for it.
595 2006-02-13 Love Hörnquist Åstrand <lha@it.su.se>
597 * pkinit.asn1: paChecksum is now OPTIONAL so it can be upgraded to
598 something better then SHA1
600 2006-01-31 Love Hörnquist Åstrand <lha@it.su.se>
602 * extra.c: Stub-generator now generates alloc statements for
603 tagless ANY OPTIONAL, remove workaround.
605 * check-gen.c: check for "tagless ANY OPTIONAL"
607 * test.asn1: check for "tagless ANY OPTIONAL"
609 2006-01-30 Love Hörnquist Åstrand <lha@it.su.se>
611 * der.h: UniversalString and BMPString are both implemented.
613 * der.h: Remove , after the last element of enum.
615 * asn1_gen.c: Spelling.
617 2006-01-20 Love Hörnquist Åstrand <lha@it.su.se>
619 * der_length.c (length_heim_integer): Try handle negative length
622 * der_get.c (der_get_heim_integer): handle negative integers.
624 * check-der.c: check heim_integer.
626 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
628 * Makefile.am: Its cRLReason, not cRLReasons
630 * canthandle.asn1: "Allocation is done on CONTEXT tags" works just
633 * rfc2459.asn1: Add CRL structures and OIDs.
635 * Makefile.am: Add CRL and TESTAlloc structures and OIDs.
637 * check-gen.c: Check OPTIONAL context-tagless elements.
639 * test.asn1: Check OPTIONAL context-tagless elements.
641 * der_cmp.c (heim_integer_cmp): make it work with negative
644 2006-01-17 Love Hörnquist Åstrand <lha@it.su.se>
646 * check-der.c: check that der_parse_hex_heim_integer() handles odd
649 * der_format.c (der_parse_hex_heim_integer): make more resiliant
650 to errors, handle odd length numbers.
652 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
654 * Makefile.am: Add RSAPrivateKey
656 * rfc2459.asn1: Add RSAPrivateKey.
658 2006-01-05 Love Hörnquist Åstrand <lha@it.su.se>
660 * der_copy.c (copy_heim_integer): copy the negative flag
662 2005-12-14 Love Hörnquist Åstrand <lha@it.su.se>
664 * parse.y: Drop ExceptionSpec for now, its not used.
666 2005-12-06 Love Hörnquist Åstrand <lha@it.su.se>
668 * test.asn1: Add test string for constraints.
670 * symbol.h: Add support for part of the Constraint-s
672 * gen.c: Set new constraints pointer in Type to NULL for inline
675 * parse.y: Add support for parsing part of the Constraint-s
677 2005-10-29 Love Hörnquist Åstrand <lha@it.su.se>
679 * Makefile.am: Add some X9.57 (DSA) oids, sort lines
681 * rfc2459.asn1: Add some X9.57 (DSA) oids.
683 2005-10-07 Love Hörnquist Åstrand <lha@it.su.se>
685 * Makefile.am: Remove pk-init-19 support.
687 * pkinit.asn1: Fix comment
689 * check-der.c: Add tests for parse and print functions for
692 * Makefile.am: Add parse and print functions for heim_integer.
694 * der_format.c: Add parse and print functions for heim_integer.
696 * der.h: Add parse and print functions for heim_integer.
698 2005-09-22 Love Hörnquist Åstrand <lha@it.su.se>
700 * Makefile.am (gen_files_rfc2459) += asn1_DHPublicKey.x
702 * rfc2459.asn1: Add DHPublicKey, and INTEGER to for storing the DH
703 public key in the SubjectPublicKeyInfo.subjectPublicKey BIT
706 2005-09-20 Love Hörnquist Åstrand <lha@it.su.se>
708 * gen_decode.c: TSequenceOf/TSetOf: Increase the length of the
709 array after successful decoding the next element, so that the
710 array don't contain heap-data.
712 2005-09-13 Love Hörnquist Åstrand <lha@it.su.se>
714 * check-der.c: Avoid empty array initiators.
716 * pkcs8.asn1 (PKCS8PrivateKeyInfo): Inline SET OF to avoid
719 * check-common.c: Avoid signedness warnings.
721 * check-common.h: Makes bytes native platform signed to avoid
724 * check-der.c: Don't depend on malloc(very-very-larger-value) will
725 fail. Cast to unsigned long before printing size_t.
727 * check-gen.c: Don't depend on malloc(very-very-larger-value) will
730 * check-gen.c: Fix signedness warnings.
732 * lex.l: unput() have to hanppen in actions for flex 2.5.31, can
733 do them in user code sesction, so move up handle_comment and
734 handle_string into action, not much sharing was done anyway.
736 2005-09-09 Love Hörnquist Åstrand <lha@it.su.se>
738 * check-der.c (test_one_int): len and len_len is size_t
740 2005-08-23 Love Hörnquist Åstrand <lha@it.su.se>
742 * gen_encode.c: Change name of oldret for each instance its used
743 to avoid shadow warning. From: Stefan Metzmacher
746 * gen_length.c: Change name of oldret for each instance its used
747 to avoid shadow warning. From: Stefan Metzmacher
750 * gen_decode.c: Change name of oldret for each instance its used
751 to avoid shadow warning. From: Stefan Metzmacher
754 * parse.y: Const poision yyerror.
756 * gen.c: Const poision.
758 2005-08-22 Love Hörnquist Åstrand <lha@it.su.se>
760 * k5.asn1: Add KRB5-PADATA-PK-AS-09-BINDING, client send
761 this (with an empty pa-data.padata-value) to tell the KDC that the
762 client support the binding the PA-REP to the AS-REQ packet. This
763 is to fix the problem lack of binding the AS-REQ to the PK-AS-REP
764 in pre PK-INIT-27. The nonce is replaced with a asCheckSum.
766 2005-08-11 Love Hörnquist Åstrand <lha@it.su.se>
768 * canthandle.asn1: Allocation is done on CONTEXT tags.
770 * asn1_gen.c: rename optind to optidx to avoid shadow warnings
772 2005-07-28 Love Hörnquist Åstrand <lha@it.su.se>
774 * rfc2459.asn1: add id-rsadsi-rc2-cbc
776 * Makefile.am: add another oid for rc2
778 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
780 * check-der.c: Make variable initiation constant by moving them to
783 * check-gen.c: change to c89 comment
785 2005-07-27 Love Hörnquist Åstrand <lha@it.su.se>
787 * Makefile.am: remove duplicate asn1_CMSAttributes.x
789 2005-07-26 Love Hörnquist Åstrand <lha@it.su.se>
791 * asn1_print.c: rename optind to optidx
793 * Makefile.am: Update to pkinit-27
795 * pkinit.asn1: Update to pkinit-27
797 2005-07-25 Love Hörnquist Åstrand <lha@it.su.se>
799 * check-der.c: make it work for non c99 compilers too
801 * check-der.c: start testing BIT STRING
803 * der_cmp.c (heim_bit_string_cmp): try handle corner cases better
805 * gen_free.c (free_type): free bignum integers
807 2005-07-23 Love Hörnquist Åstrand <lha@it.su.se>
809 * Makefile.am: add PKCS12-OctetString
811 * pkcs12.asn1: add PKCS12-OctetString
813 * Makefile.am: add new files
815 * rfc2459.asn1: include SET OF in Attribute to make the type more
818 * CMS.asn1: handle IMPLICIT and share some common structures
820 2005-07-21 Love Hörnquist Åstrand <lha@it.su.se>
822 * rfc2459.asn1: Include enough workarounds that this even might
825 * check-gen.c: Two implicit tests, one with all structures inlined
827 * test.asn1: fix workaround for IMPLICIT CONS case
829 * canthandle.asn1: fix workaround for IMPLICIT CONS case
831 * asn1_print.c: hint that there are IMPLICIT content when we find
834 * check-gen.c: Added #ifdef out test for IMPLICIT tagging.
836 * Makefile.am: test several IMPLICIT tag level deep
838 * test.asn1: test several IMPLICIT tag level deep
840 * test.asn1: tests for IMPLICIT
842 * Makefile.am: tests for IMPLICIT
844 * canthandle.asn1: Expand on what is wrong with the IMPLICIT
847 * rfc2459.asn1: some of the structure are in the IMPLICIT TAGS
850 2005-07-19 Love Hörnquist Åstrand <lha@it.su.se>
852 * asn1_print.c: print size_t by casting to unsigned long and use
853 right printf format tags are unsigned integers
855 * gen.c (generate_constant): oid elements are unsigned
857 * gen_decode.c (decode_type): tagdatalen should be an size_t.
859 * extra.c (decode_heim_any): tag is unsigned int.
861 * der_get.c (der_match_tag): tag is unsigned int.
863 * gen_length.c (length_type): cast size_t argument to unsigned
864 long and use appropriate printf format
866 * check-der.c (check_fail_bitstring): check for length overflow
868 * der_get.c: rewrite integer overflow tests w/o SIZE_T_MAX
870 * check-common.c (generic_decode_fail): only copy in if checklen
871 its less then 0xffffff and larger than 0.
873 * gen_decode.c (find_tag): find external references, we can't
874 handle those, so tell user that instead of crashing
876 2005-07-18 Dave Love <fx@gnu.org>
878 * extra.c (free_heim_any_set): Fix return.
880 * gen_decode.c (find_tag): Fix return in TType case.
882 2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
884 * gen_encode.c (TChoice): add () to make sure variable expression
885 is evaluated correctly
887 * gen_length.c (TChoice): add () to make sure variable expression
888 is evaluated correctly
890 * k5.asn1: reapply 1.43 that got lost in the merge: rename pvno to
893 2005-07-12 Love Hörnquist Åstrand <lha@it.su.se>
895 * gen_decode.c (decode_type): TChoice: set the label
897 * check-gen.c (cmp_Name): do at least some checking
899 * gen_locl.h: rename function filename() to get_filename() to
902 * lex.l: rename function filename() to get_filename() to avoid
905 * gen.c: rename function filename() to get_filename() to avoid
908 * check-der.c: add failure checks for large oid elements
910 * check-gen.c: add failure checks for tag (and large tags)
912 * der_get.c: Check for integer overflows in tags and oid elements.
914 2005-07-10 Assar Westerlund <assar@kth.se>
916 * gen_decode.c: Fix decoding of choices to select which branch to
917 try based on the tag and return an error if that branch fails.
919 * check-gen.c: Fix short choice test cases.
921 2005-07-09 Assar Westerlund <assar@kth.se>
939 Use emalloc, ecalloc, and estrdup.
940 Check return value from asprintf.
941 Make sure that malloc(0) returning NULL is not treated as an
944 2005-07-10 Love Hörnquist Åstrand <lha@it.su.se>
946 * check-gen.c: test cases for CHOICE, its too liberal right now,
947 it don't fail hard on failure on after it successfully decoded the
948 first tag in a choice branch
950 * asn1_gen.c: calculate the basename for the output file,
951 pretty-print tag number
953 * test.gen: sample for asn1_gen
955 * check-gen.c: check errors in SEQUENCE
957 * Makefile.am: build asn1_gen, TESTSeq and new, and class/type/tag
958 string<->num converter.
960 * test.asn1: TESTSeq, for testing SEQUENCE
962 * asn1_gen.c: generator for asn1 data
964 * asn1_print.c: use class/type/tag string<->num converter.
966 * der.c: Add class/type/tag string<->num converter.
968 * der.h: Add class/type/tag string<->num converter.
969 Prototypes/structures for new time bits.
971 2005-07-09 Love Hörnquist Åstrand <lha@it.su.se>
973 * der_get.c (der_get_unsigned) check for length overflow
974 (der_get_integer) ditto
975 (der_get_general_string) ditto
977 * der_get.c: check for overruns using SIZE_T_MAX
979 * check-der.c: check BIT STRING and OBJECT IDENTIFIER error cases
981 * check-common.c (generic_decode_fail): allocate 4K for the over
984 * der_get.c (der_get_oid): check for integer overruns and
985 unterminated oid correctly
987 * check-common.h (map_alloc, generic_decode_fail): prototypes
989 * check-common.c (map_alloc): make input buffer const
990 (generic_decode_fail): verify decoding failures
992 2005-07-05 Love Hörnquist Åstrand <lha@it.su.se>
994 * gen_encode.c: split up the printf for SET OF, also use the
995 generate name for the symbol in the SET OF, if not, the name might
996 contain non valid variable name characters (like -)
998 2005-07-04 Love Hörnquist Åstrand <lha@it.su.se>
1000 * Makefile.am: move pkcs12 defines into their own namespace
1002 * pkcs12.asn1: move pkcs12 defines into their own namespace
1004 * pkcs9.asn1: add PKCS9-friendlyName with workaround for SET OF
1007 * heim_asn1.h: reuse heim_octet_string for heim_any types
1009 * main.c: use optidx, handle the case where name is missing and
1010 use base of filename then
1012 * asn1-common.h: include ASN1_MALLOC_ENCODE
1014 * gen_decode.c: use less context so lower indentention level, add
1015 missing {} where needed
1017 2005-07-02 Love Hörnquist Åstrand <lha@it.su.se>
1019 * gen_copy.c: Use a global variable to keep track of if the 'goto
1020 fail' was used, and use that to only generate the label if needed.
1022 * asn1_print.c: do indefinite form loop detection and stop after
1023 10000 recursive indefinite forms, stops crashing due to running
1026 * asn1_print.c: catch badly formated indefinite length data
1027 (missing EndOfContent tag) add (negative) indent flag to speed up
1030 2005-07-01 Love Hörnquist Åstrand <lha@it.su.se>
1032 * canthandle.asn1: Can't handle primitives in CHOICE
1034 * gen_decode.c: Check if malloc failes
1036 * gen_copy.c: Make sure to free memory on failure
1038 * gen_decode.c: Check if malloc failes, rename "reallen" to
1039 tagdatalen since that is what it is.
1041 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
1043 * prefix Der_class with ASN1_C_ to avoid problems with system
1044 headerfiles that pollute the name space
1046 2005-05-20 Love Hörnquist Åstrand <lha@it.su.se>
1048 * pkcs12.asn1: add PKCS12CertBag
1050 * pkcs9.asn1: add pkcs9 certtype x509 certificate
1052 * Makefile.am: add pkcs12 certbag and pkcs9 certtype x509
1055 * pkcs12.asn1: split off PKCS12Attributes from SafeBag so it can
1058 * Makefile.am: add PKCS12Attributes
1060 2005-05-10 Love Hörnquist Åstrand <lha@it.su.se>
1062 * canthandle.asn1: fix tags in example
1064 2005-05-02 Love Hörnquist Åstrand <lha@it.su.se>
1066 * pkinit.asn1: Let the Windows nonce be an int32 (signed), if not
1067 it will fail when using Windows PK-INIT.
1069 2005-05-01 Love Hörnquist Åstrand <lha@it.su.se>
1071 * Makefile.am: add pkcs12-PBEParams
1073 * pkcs12.asn1: add pkcs12-PBEParams
1075 * parse.y: objid_element: exit when the condition fails
1077 2005-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1079 * gen_glue.c: 1.8: switch the units variable to a
1080 function. gcc-4.1 needs the size of the structure if its defined
1081 as extern struct units foo_units[] an we don't want to include
1082 <parse_units.h> in the generate headerfile
1084 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
1086 * Makefile.am: add the des-ede3-cbc oid that ansi x9.52 uses
1088 * rfc2459.asn1: add the des-ede3-cbc oid that ansi x9.52 uses
1090 * Makefile.am: add oids for x509
1092 * rfc2459.asn1: add oids now when the compiler can handle them
1094 2005-03-19 Love Hörnquist Åstrand <lha@it.su.se>
1096 * Makefile.am: add pkcs9 files
1098 * pkcs9.asn1: add small number of oids from pkcs9
1100 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
1102 * Makefile.am: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1104 * rfc2459.asn1: add a bunch of pkcs1/pkcs2/pkcs3/aes oids
1106 2005-03-10 Love Hörnquist Åstrand <lha@it.su.se>
1108 * k5.asn1: merge pa-numbers
1110 2005-03-09 Love Hörnquist Åstrand <lha@it.su.se>
1112 * Makefile.am: add oid's
1114 * rfc2459.asn1: add encryption oids
1116 * CMS.asn1: add signedAndEnvelopedData oid
1118 * pkcs12.asn1: add pkcs12 oids
1120 * CMS.asn1: add pkcs7 oids
1122 2005-03-08 Love Hörnquist Åstrand <lha@it.su.se>
1124 * gen.c (generate_header_of_codefile): break out the header
1126 (generate_constant): generate a function that return the oid
1129 * parse.y: fix the ordering of the oid's
1131 * parse.y: handle OBJECT IDENTIFIER as value construct
1133 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
1135 * Preserve content of CHOICE element that is unknown if ellipsis
1136 was used when defining the structure
1138 2005-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1140 * parse.y: use ANS1_TAILQ macros
1142 * *.[ch]: use ASN1_TAILQ macros
1144 * asn1_queue.h: inline bsd sys/queue.h and rename TAILQ to
1145 ASN1_TAILQ to avoid problems with name polluting headerfiles
1147 2005-01-19 Love Hörnquist Åstrand <lha@it.su.se>
1149 * gen.c: pull in <krb5-types.h>
1151 2005-01-10 Love Hörnquist Åstrand <lha@it.su.se>
1153 * Add BMPString and UniversalString
1155 * k5.asn1 (EtypeList): make INTEGER constrained (use krb5int32)
1157 2005-01-07 Love Hörnquist Åstrand <lha@it.su.se>
1159 * rfc2459.asn1: add GeneralNames
1161 2004-11-21 Love Hörnquist Åstrand <lha@it.su.se>
1163 * gen.c: use unsigned integer for len of SequenceOf/SetOf and
1166 2004-11-10 Love Hörnquist Åstrand <lha@it.su.se>
1168 * Makefile.am: switch to krb5int32 and krb5uint32
1170 * Unify that three integer types TInteger TUInteger and TBigInteger.
1171 Start to use constrained integers where appropriate.
1173 2004-10-13 Love Hörnquist Åstrand <lha@it.su.se>
1175 * CMS.asn1: remove no longer used commented out elements
1177 * gen_glue.c: make units structures const
1179 2004-10-12 Love Hörnquist Åstrand <lha@it.su.se>
1181 * lex.l: handle hex number with [a-fA-F] in them
1183 2004-10-07 Love Hörnquist Åstrand <lha@it.su.se>
1185 * gen_free.c: free _save for CHOICE too
1187 * rfc2459.asn1: use Name and not heim_any
1189 * gen_decode.c: if malloc for _save failes, goto fail so we free
1192 * gen_copy.c: copy _save for CHOICE too
1194 * gen.c: add _save for CHOICE too
1196 * CMS.asn1: RecipientIdentifier and SignerIdentifier is the same
1197 name is CMSIdentifier and add glue for that so we can share code
1198 use Name and not heim_any
1200 2004-10-03 Love Hörnquist Åstrand <lha@it.su.se>
1202 * Makefile.am: drop AlgorithmIdentifierNonOpt add
1203 {RC2CBC,}CBCParameter here where they belong
1205 * CMS.asn1: add {RC2CBC,}CBCParameter here where they belong
1207 * rfc2459.asn1: drop AlgorithmIdentifierNonOpt
1209 * rfc2459.asn1: stop using AlgorithmIdentifierNonOpt hint that we
1210 really want to use Name and some MS stuff
1212 2004-09-05 Love Hörnquist Åstrand <lha@it.su.se>
1214 * asn1_print.c: handle end of content, this is part BER support,
1215 however, OCTET STRING need some tweeking too.
1217 * der.h: add UT_EndOfContent
1219 * test.asn1: test asn1 spec file
1221 * check-gen.c: check larget tags
1223 * Makefile.am: add test asn1 spec file that we can use for testing
1224 constructs that doesn't exists in already existing spec (like
1227 * der_put.c (der_put_tag): make sure there are space for the head
1228 tag when we are dealing with large tags (>30)
1230 * check-gen.c: add test for tag length
1232 * check-common.c: export the map_ functions for OVERRUN/UNDERRUN
1233 detection restore the SIGSEGV handler when test is done
1235 * check-common.h: export the map_ functions for OVERRUN/UNDERRUN
1238 * gen_decode.c: check that the tag-length is not longer the length
1239 use forwstr on some more places
1241 * parse.y: revert part of 1.14.2.21, multiple IMPORT isn't allowed
1243 * pkinit.asn1: correct usage of IMPORT
1245 * CMS.asn1: correct usage of IMPORT
1247 * pkcs8.asn1: pkcs8, encrypting private key
1249 * pkcs12.asn1: pkcs12, key/crl/certificate file transport PDU
1251 * Makefile.am: add pkcs8 and pkcs12
1253 * der_free.c: reset length when freing primitives
1255 * CMS.asn1: add EncryptedData
1257 2004-08-26 Love Hörnquist Åstrand <lha@it.su.se>
1259 * gen_decode.c (decode_type): if the entry is already optional
1260 when parsing a tag and we allocate the structure, not pass down
1261 optional since that will case the subtype's decode_type also to
1262 allocate an entry. and we'll leak an entry. Bug from Luke Howard
1263 <lukeh@padl.com>. While here, use calloc.
1265 2004-04-29 Love Hörnquist Åstrand <lha@it.su.se>
1267 * k5.asn1: shift the last added etypes one step so rc2 doesn't
1270 2004-04-26 Love Hörnquist Åstrand <lha@it.su.se>
1272 * k5.asn1: add ETYPE_AESNNN_CBC_NONE
1274 * CMS.asn1: add CMS symmetrical parameters moved to k5.asn1
1276 * k5.asn1: add CMS symmetrical parameters here, more nametypes
1279 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
1281 * gen_decode.c: free data on decode failure
1283 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
1285 * Makefile.am: add CBCParameter and RC2CBCParameter
1287 * CMS.asn1: add CBCParameter and RC2CBCParameter
1289 2004-04-20 Love Hörnquist Åstrand <lha@it.su.se>
1291 * check-der.c: add simple test for oid's, used to trigger malloc
1292 bugs in you have picky malloc (like valgrind/purify/third)
1294 * der_get.c (der_get_oid): handle all oid components being smaller
1295 then 127 and allocate one extra element since first byte is split
1298 2004-04-16 Love Hörnquist Åstrand <lha@it.su.se>
1300 * canthandle.asn1: one thing handled
1302 * gen_decode.c: handle OPTIONAL CONS-tag-less elements
1304 * der_length.c (length_len): since length is no longer the same as
1305 an unsigned, do the length counting here. ("unsigned" is zero
1306 padded when most significate bit is set, length is not)
1308 2004-04-12 Love Hörnquist Åstrand <lha@it.su.se>
1310 * canthandle.asn1: document by example what the encoder can't
1313 * Makefile.am: add more stuff needed whem implementing x509
1314 preserve TBSCertificate
1316 * rfc2459.asn1: add more stuff needed whem implementing x509
1318 * CMS.asn1: move some type to rfc2459.asn1 where they belong (and
1321 * gen.c: preserve the raw data when asked too
1323 * gen_decode.c: preserve the raw data when asked too
1325 * gen_copy.c: preserve the raw data when asked too
1327 * gen_free.c: preserve the raw data when asked too
1329 * gen_locl.h: add preserve_type
1331 * heim_asn1.h: add heim_any_cmp
1333 * main.c: add flag --preserve-binary=Symbol1,Symbol2,... that make
1334 the compiler generate stubs to save the raw data, its not used
1335 right now when generating the stat
1337 * k5.asn1: Windows uses PADATA 15 for the request too
1339 * extra.c: add heim_any_cmp
1341 * der_put.c: implement UTCtime correctly
1343 * der_locl.h: remove #ifdef HAVE_TIMEGM\ntimegm\n#endif here from
1344 der.h so one day der.h can get installed
1346 * der_length.c: implement UTCtime correctly
1348 * der_get.c: implement UTCtime correctly, prefix dce_fix with
1351 * der_copy.c: make copy_bit_string work again
1353 * der_cmp.c: add octet_string, integer, bit_string cmp functions
1355 * der.h: hide away more symbols, add more _cmp functions
1357 2004-03-06 Love Hörnquist Åstrand <lha@it.su.se>
1359 * Makefile.am: add more pkix types make k5 use rfc150 bitstrings,
1360 everything else use der bitstrings
1362 * main.c: as a compile time option, handle no rfc1510 bitstrings
1364 * gen_locl.h: rfc1510 bitstrings flag
1366 * gen_length.c: as a compile time option, handle no rfc1510
1369 * gen_encode.c: as a compile time option, handle no rfc1510
1372 * gen_decode.c: handle no rfc1510 bitstrings
1374 * check-gen.c: test for bitstrings
1376 * rfc2459.asn1: add Certificates and KeyUsage
1378 2004-02-22 Love Hörnquist Åstrand <lha@it.su.se>
1380 * pkinit.asn1: use Name from PKIX
1382 * rfc2459.asn1: add more silly string types to DirectoryString
1384 * gen_encode.c: add checks for data overflow when encoding
1385 TBitString with members encode SET OF correctly by bytewise
1388 * gen_decode.c: add checks for data overrun when encoding
1389 TBitString with members
1391 * der_put.c: add _heim_der_set_sort
1393 * der_cmp.c: rename oid_cmp to heim_oid_cmp
1395 * der.h: rename oid_cmp to heim_oid_cmp, add _heim_der_set_sort
1397 * check-gen.c: add check for Name and (commented out) heim_integer
1399 * check-der.c: test for "der_length.c: Fix len_unsigned for
1400 certain negative integers, it got the length wrong" , from
1403 * der_length.c: Fix len_unsigned for certain negative integers, it
1404 got the length wrong, fix from Panasas, Inc.
1406 rename len_int and len_unsigned to _heim_\&
1408 * gen_length.c: 1.14: (length_type): TSequenceOf: add up the size
1409 of all the elements, don't use just the size of the last element.
1411 2004-02-20 Love Hörnquist Åstrand <lha@it.su.se>
1413 * rfc2459.asn1: include defintion of Name
1415 * pkinit.asn1: no need for ContentType, its cms internal
1417 * CMS.asn1: move ContentInfo to CMS
1419 * pkinit.asn1: update to pk-init-18, move ContentInfo to CMS
1421 * Makefile.am: align with pk-init-18, move contentinfo to cms
1423 2004-02-17 Love Hörnquist Åstrand <lha@it.su.se>
1425 * der_get.c: rewrite previous commit
1427 * der_get.c (der_get_heim_integer): handle positive integer
1430 * der_length.c (der_put_heim_integer): try handle negative
1433 * der_put.c (der_put_heim_integer): try handle negative integers
1436 * der_get.c (der_get_heim_integer): dont abort on negative integer just
1437 return ASN1_OVERRUN for now
1439 * parse.y: add ia5string, and printablestring
1441 * gen_length.c: add ia5string, and printablestring
1443 * gen_free.c: add ia5string, and printablestring
1445 * gen_decode.c: add ia5string, and printablestring
1447 * gen_copy.c: add ia5string, and printablestring
1449 * gen.c: add ia5string, printablestring, and utf8string change
1450 implemetation of heim_integer and store the data as bigendian byte
1451 array with a external flag for signedness
1453 * der_put.c: add ia5string, printablestring, and utf8string change
1454 implemetation of heim_integer and store the data as bigendian byte
1455 array with a external flag for signedness
1457 * der_length.c: add ia5string, printablestring, and utf8string
1458 change implemetation of heim_integer and store the data as
1459 bigendian byte array with a external flag for signedness
1461 * der_get.c: add ia5string, printablestring, and utf8string change
1462 implemetation of heim_integer and store the data as bigendian byte
1463 array with a external flag for signedness
1465 * der_free.c: add ia5string, printablestring, and utf8string
1467 * der_copy.c: add ia5string, printablestring, and utf8string
1469 * der.h: add ia5string, printablestring, and utf8string
1471 * asn1-common.h: add signedness flag to heim_integer, add
1472 ia5string and printablestring
1474 2004-02-13 Love Hörnquist Åstrand <lha@it.su.se>
1476 * rfc2459.asn1: use BIGINTEGER where appropriate
1478 * setchgpw2.asn1: spelling and add op-req again
1480 2004-02-12 Love Hörnquist Åstrand <lha@it.su.se>
1482 * Makefile.am: clean up better
1484 2004-02-11 Love Hörnquist Åstrand <lha@it.su.se>
1486 * gen_decode.c (decode_type): TTag, don't overshare the reallen
1489 * Makefile.am: adapt to log file name change
1491 * gen.c: genereate log file name based on base name
1493 2003-11-26 Love Hörnquist Åstrand <lha@it.su.se>
1495 * Makefile.am: += asn1_AlgorithmIdentifierNonOpt.x
1497 * rfc2459.asn1: add AlgorithmIdentifierNonOpt and use it where
1498 it's needed, make DomainParameters.validationParms heim_any as a
1499 hack. Both are workarounds for the problem with heimdal's asn1
1500 compiler have with decoing context tagless OPTIONALs.
1502 * pkinit.asn1: don't import AlgorithmIdentifier
1504 2003-11-25 Love Hörnquist Åstrand <lha@it.su.se>
1506 * der_put.c (der_put_bit_string): make it work somewhat better
1507 (should really prune off all trailing zeros)
1509 * gen_encode.c (encode_type): bit string is not a constructed type
1511 * der_length.c (length_bit_string): calculate right length for
1514 2003-11-24 Love Hörnquist Åstrand <lha@it.su.se>
1516 * der_cmp.c (oid_cmp): compare the whole array, not just
1517 length/sizeof(component)
1519 * check-common.c: mmap the scratch areas, mprotect before and
1520 after, align data to the edge of the mprotect()ed area to provoke
1523 * Makefile.am: add DomainParameters, ValidationParms
1525 * rfc2459.asn1: add DomainParameters, ValidationParms
1527 * check-der.c: add free function
1529 * check-common.h: add free function
1531 * check-common.c: add free function
1533 * check-gen.c: check KRB-ERROR
1535 * asn1_print.c: check end of tag_names loop into APPL class tags
1537 2003-11-23 Love Hörnquist Åstrand <lha@it.su.se>
1539 * der_put.c (der_put_generalized_time): check size, not *size
1541 2003-11-11 Love Hörnquist Åstrand <lha@it.su.se>
1543 * gen_decode.c (decode_type/TBitString): skip over
1544 skipped-bits-in-last-octet octet
1546 * gen_glue.c (generate_units): generate units in reverse order to
1547 keep unparse_units happy
1549 2003-11-08 Love Hörnquist Åstrand <lha@it.su.se>
1551 * Makefile.am: generate all silly pkinit files
1553 * pkinit.asn1: make it work again, add strange ms structures
1555 * k5.asn1: PROV-SRV-LOCATION, PacketCable provisioning server
1556 location, PKT-SP-SEC-I09-030728
1558 * asn1-common.h: add bit string
1560 * der_put.c: add bit string and utctime
1562 * gen.c: add bit string and utctime
1564 * gen_copy.c: add bit string and utctime
1566 * der_copy.c: add bit string
1568 * gen_decode.c: add utctime and bitstring
1570 * gen_encode.c: add utctime and bitstring
1572 * gen_free.c: add utctime and bitstring
1574 * gen_glue.c: don't generate glue for member-less bit strings
1576 * der_cmp.c: compare function for oids
1578 * gen_length.c: add utc time, make bit string work for bits
1579 strings w/o any members
1581 * der_cmp.c: compare function for oids
1583 * der.h: update boolean prototypes add utctime and bit_string
1585 * der_free.c: add free_bit_string
1587 * der_get.c: add bit string and utctime
1589 * der_length.c: add bit string and utctime, fix memory leak in
1590 length_generalized_time
1592 * CMS.asn1: make EncryptedContentInfo.encryptedContent a OCTET
1593 STRING to make the generator do the right thing with IMPLICIT
1594 mumble OPTIONAL, make CertificateSet a heim_any_set
1596 * extra.c, heim_asn1.h: add any_set, instead of just consuming one
1597 der object, its consumes the rest of the data avaible
1599 * extra.c, heim_asn1.h: extern implementation of ANY, decoder
1600 needs to have hack removed when generator handles tagless optional
1603 * pkinit.asn1: add KdcDHKeyInfo-Win2k
1605 2003-11-07 Love Hörnquist Åstrand <lha@it.su.se>
1607 * der_copy.c (copy_oid): copy all components
1609 * parse.y: parse UTCTime, allow multiple IMPORT
1611 * symbol.h: add TUTCTime
1613 * rfc2459.asn1: update
1617 * pkinit.asn1: update
1619 * CMS.asn1: new file
1621 * asn1_print.c: print some more lengths, check length before
1622 steping out in the void, parse SET, only go down CONTEXT of type
1625 2003-09-17 Love Hörnquist Åstrand <lha@it.su.se>
1627 * gen_encode.c (TChoice, TSequence): code element in reverse
1630 2003-09-16 Love Hörnquist Åstrand <lha@it.su.se>
1632 * gen.c: store NULL's as int's for now
1634 * parse.y: remove dup of type def of UsefulType
1636 2003-09-11 Love Hörnquist Åstrand <lha@it.su.se>
1638 * gen_decode.c (decode_type): if malloc failes, return ENOMEM
1640 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1642 * parse.y: kw_UTF8String is a token put tag around the OID
1644 * asn1_print.c (UT_Integer): when the integer is larger then int
1645 can handle, just print BIG INT and its size
1647 2003-09-10 Love Hörnquist Åstrand <lha@it.su.se>
1649 * gen_decode.c (decode_type): TTag, try to generate prettier code
1650 in the non optional case, also remember to update length
1652 2003-01-22 Johan Danielsson <joda@pdc.kth.se>
1654 * gen_decode.c: add flag to decode broken DCE BER encoding
1656 * gen_locl.h: add flag to decode broken DCE BER encoding
1658 * main.c: add flag to decode broken DCE BER encoding