Commit Graph

532 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
153f392b66 start testing BIT STRING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:35:22 +00:00
Love Hörnquist Åstrand
7b05df1363 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:33:22 +00:00
Love Hörnquist Åstrand
d8425c3dd6 (free_type): free bignum integers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:28:29 +00:00
Love Hörnquist Åstrand
68d93ba416 (heim_bit_string_cmp): try handle corner cases better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:03:26 +00:00
Love Hörnquist Åstrand
dcde19f45e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 17:01:39 +00:00
Love Hörnquist Åstrand
c3bf2d966b add PKCS12-OctetString
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 11:08:47 +00:00
Love Hörnquist Åstrand
a8f3b3b5f0 add new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:40:47 +00:00
Love Hörnquist Åstrand
1a653c9ed0 include SET OF in Attribute to make the type more useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:39:47 +00:00
Love Hörnquist Åstrand
17a3d4c545 add some more oid's needed for CMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:38:28 +00:00
Love Hörnquist Åstrand
f03a6ff4f3 handle IMPLICIT and share some common structures
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:37:13 +00:00
Love Hörnquist Åstrand
6c103d74ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 21:04:37 +00:00
Love Hörnquist Åstrand
e5fe708bc5 Include enough workarounds that this even might work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 21:04:14 +00:00
Love Hörnquist Åstrand
091fd69373 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:53:09 +00:00
Love Hörnquist Åstrand
91343fdb0c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:52:32 +00:00
Love Hörnquist Åstrand
5b5c414c58 fix workaround for IMPLICIT CONS case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:49:15 +00:00
Love Hörnquist Åstrand
5dfc656f1e Two implicit tests, one with all structures inlined
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:48:27 +00:00
Love Hörnquist Åstrand
e8e359c3e5 gen_files_test += asn1_TESTImplicit2.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:47:37 +00:00
Love Hörnquist Åstrand
43bae75fe0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:51:12 +00:00
Love Hörnquist Åstrand
cd2906e547 hint that there are IMPLICIT content when we find it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:50:59 +00:00
Love Hörnquist Åstrand
b3df78e697 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:48:12 +00:00
Love Hörnquist Åstrand
f9186683ce Added #ifdef out test for IMPLICIT tagging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:47:58 +00:00
Love Hörnquist Åstrand
ec6d0840fc test several IMPLICIT tag level deep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:45:32 +00:00
Love Hörnquist Åstrand
aefa27d866 test several IMPLICIT tag level deep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:39:40 +00:00
Love Hörnquist Åstrand
3d9e36d3a1 tests for IMPLICIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:14:53 +00:00
Love Hörnquist Åstrand
8c0660f084 Expand on what is wrong with the IMPLICIT tagging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:09:41 +00:00
Love Hörnquist Åstrand
090d803dfe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 10:20:48 +00:00
Love Hörnquist Åstrand
ad8050e056 some of the structure are in the IMPLICIT TAGS module, adapt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 10:20:16 +00:00
Love Hörnquist Åstrand
aae79f52b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:49:45 +00:00
Love Hörnquist Åstrand
050f24465c print size_t by casting to unsigned long and use right printf format
tags are unsigned integers


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:49:05 +00:00
Love Hörnquist Åstrand
3d0c56c8fc (generate_constant): oid elements are unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:46:50 +00:00
Love Hörnquist Åstrand
30cb2f9c22 (decode_type): tagdatalen should be an size_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:09:30 +00:00
Love Hörnquist Åstrand
35506ca735 (decode_heim_any): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:05:16 +00:00
Love Hörnquist Åstrand
dd801b3ca3 (der_match_tag): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:04:00 +00:00
Love Hörnquist Åstrand
a0f68f2640 (length_type): cast size_t argument to unsigned long and use
appropriate printf format


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:01:59 +00:00
Love Hörnquist Åstrand
111eda69f8 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:32 +00:00
Love Hörnquist Åstrand
5940c92087 (check_fail_bitstring): check for length overflow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:18 +00:00
Love Hörnquist Åstrand
352e621dd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:38 +00:00
Love Hörnquist Åstrand
0f15be4a2d rewrite integer overflow tests w/o SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:18 +00:00
Love Hörnquist Åstrand
eaaf5d23fd (generic_decode_fail): only copy in if checklen its less then 0xffffff
and larger than 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:07:25 +00:00
Love Hörnquist Åstrand
0a52623725 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:43 +00:00
Love Hörnquist Åstrand
c77f5c2515 (find_tag): find external references, we can't handle those, so tell
user that instead of crashing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:28 +00:00
Love Hörnquist Åstrand
c2f3dcf61d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:55 +00:00
Love Hörnquist Åstrand
42c8e8f966 (free_heim_any_set): Fix return.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:39 +00:00
Love Hörnquist Åstrand
a42c7b8b15 (find_tag): Fix return in TType case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:16:25 +00:00
Love Hörnquist Åstrand
ca2802aba8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:36 +00:00
Love Hörnquist Åstrand
ab69af8c30 (TChoice): add () to make sure variable expression is evaluated correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:23 +00:00
Love Hörnquist Åstrand
e101a6175e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:47 +00:00
Love Hörnquist Åstrand
1b5061371c reapply 1.43 that got lost in the merge: rename pvno to krb5-pvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:29:49 +00:00
Love Hörnquist Åstrand
d79bcbb3a6 (decode_type): TChoice: set the label
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:08:38 +00:00
Love Hörnquist Åstrand
b49d932283 (cmp_Name): do at least some checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:05:29 +00:00