Commit Graph

514 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f10a9a6485 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:05:09 +00:00
Love Hörnquist Åstrand
6a64a8f84f (length_heim_integer): Try handle negative length of integers better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:04:46 +00:00
Love Hörnquist Åstrand
b8c2cec844 (der_get_heim_integer): handle negative integers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:03:50 +00:00
Love Hörnquist Åstrand
483d00b945 check heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:00:14 +00:00
Love Hörnquist Åstrand
45e059476f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:49:36 +00:00
Love Hörnquist Åstrand
c768e38c2a Its cRLReason no cRLReasons
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:45:42 +00:00
Love Hörnquist Åstrand
4a9f2c14c4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 19:17:09 +00:00
Love Hörnquist Åstrand
968cf71bf3 "Allocation is done on CONTEXT tags" works just fine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 19:12:33 +00:00
Love Hörnquist Åstrand
fcc1db9eae Add CRL structures and OIDs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 17:28:18 +00:00
Love Hörnquist Åstrand
18ffa92f2b Add CRL and TESTAlloc structures and OIDs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 17:27:35 +00:00
Love Hörnquist Åstrand
88df0535c2 Check OPTIONAL context-tagless elements.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 17:26:25 +00:00
Love Hörnquist Åstrand
1fc48af99a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 13:24:03 +00:00
Love Hörnquist Åstrand
35e8a7b886 (heim_integer_cmp): make it work with negative numbers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 13:22:11 +00:00
Love Hörnquist Åstrand
86088e002d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:02:30 +00:00
Love Hörnquist Åstrand
905a9d79b8 check that der_parse_hex_heim_integer() handles odd length numbers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:02:16 +00:00
Love Hörnquist Åstrand
8018ea69c2 (der_parse_hex_heim_integer): make more resiliant to errors, handle
odd length numbers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:01:11 +00:00
Love Hörnquist Åstrand
a88ee830b5 Add RSAPrivateKey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:58:00 +00:00
Love Hörnquist Åstrand
babdd69260 Add RSAPrivateKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:56:37 +00:00
Love Hörnquist Åstrand
6a7375e81e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 23:41:53 +00:00
Love Hörnquist Åstrand
6042e74b75 (copy_heim_integer): copy the negative flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 23:41:29 +00:00
Love Hörnquist Åstrand
3f69c24549 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:50 +00:00
Love Hörnquist Åstrand
a3b5faf72e Drop ExceptionSpec for now, its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:36 +00:00
Love Hörnquist Åstrand
36ac3bcf8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:48 +00:00
Love Hörnquist Åstrand
945ffb4357 Add test string for constraints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:33 +00:00
Love Hörnquist Åstrand
f1f22c334f Add support for part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16357 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:52 +00:00
Love Hörnquist Åstrand
fcfe7bc161 Set new constraints pointer in Type to NULL for inline constructed types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:13 +00:00
Love Hörnquist Åstrand
fb7c1e5ca2 Add support for parsing part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:57:59 +00:00
Love Hörnquist Åstrand
0e80fef74a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:57:46 +00:00
Love Hörnquist Åstrand
027488e89f Add some X9.57 (DSA) oids, sort lines
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:57:14 +00:00
Love Hörnquist Åstrand
0143ed18c7 Add some X9.57 (DSA) oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:55:52 +00:00
Love Hörnquist Åstrand
be13646074 Remove pk-init-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 08:49:40 +00:00
Love Hörnquist Åstrand
f961f7f538 Fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:02:15 +00:00
Love Hörnquist Åstrand
1ef128fbff Removing PK-INIT-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:00:05 +00:00
Love Hörnquist Åstrand
0fa6eefd9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:56:15 +00:00
Love Hörnquist Åstrand
fcc233ae04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:55:50 +00:00
Love Hörnquist Åstrand
e3eff997f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:55:28 +00:00
Love Hörnquist Åstrand
b5c8c913bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:54:59 +00:00
Love Hörnquist Åstrand
7f2116e65f Add tests for parse and print functions for heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 03:49:57 +00:00
Love Hörnquist Åstrand
7c785284bd Add parse and print functions for heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 03:49:16 +00:00
Love Hörnquist Åstrand
3f70dd507f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:30:50 +00:00
Love Hörnquist Åstrand
a6a2a09c88 (gen_files_rfc2459) += asn1_DHPublicKey.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:29:29 +00:00
Love Hörnquist Åstrand
3b929ad31f Add DHPublicKey, and INTEGER to for storing the DH public key in the
SubjectPublicKeyInfo.subjectPublicKey BIT STRING.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 05:27:57 +00:00
Love Hörnquist Åstrand
c957c952ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:31:45 +00:00
Love Hörnquist Åstrand
2c7a8d4dca TSequenceOf/TSetOf: Increase the length of the array after successful
decoding the next element, so that the array don't contain heap-data.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:30:37 +00:00
Love Hörnquist Åstrand
0bb2f95b62 Avoid empty array initiators.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 21:08:03 +00:00
Love Hörnquist Åstrand
be827bd01d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:43:49 +00:00
Love Hörnquist Åstrand
b23278e0c5 (PKCS8PrivateKeyInfo): Inline SET OF to avoid compiler "feature"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:41:29 +00:00
Love Hörnquist Åstrand
84b70dac40 Avoid signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:40:30 +00:00
Love Hörnquist Åstrand
272cc63375 Makes bytes native platform signed to avoid casting everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:37:27 +00:00
Love Hörnquist Åstrand
b9a6e93c62 Don't depend on malloc(very-very-larger-value) will fail.
Cast to unsigned long before printing size_t.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:36:17 +00:00