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