source: heimdal/trunk/lib/asn1/ChangeLog@ 3

Last change on this file since 3 was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

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