Commit Graph

16982 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
76393e42c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 17:54:58 +00:00
Love Hörnquist Åstrand
3de0915340 If RAND_bytes fails, then we will attempt to double-free crypt->key.data.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 16:46:31 +00:00
Love Hörnquist Åstrand
2bddc22c0e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 14:15:32 +00:00
Love Hörnquist Åstrand
a7271a78b9 Less "pointer targets in passing argument differ in signedness" warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 14:15:20 +00:00
Love Hörnquist Åstrand
f7ca02ad7a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:47:35 +00:00
Love Hörnquist Åstrand
464d720b1c Catches both keyed checkout w/o crypto context cases and doesn't reset
the string, and corrects the grammar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:47:24 +00:00
Love Hörnquist Åstrand
a6dbbc8629 Drop aes-cbc, rc2 and CMS padding support, its all containted in
libhcrypto and libhx509 now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:45:28 +00:00
Love Hörnquist Åstrand
ae1666827a (kadm5_c_get_privs): privs is a uint32_t, let copy it that way.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:43:17 +00:00
Love Hörnquist Åstrand
59fa02a897 (kadm_get_privs): one less "pointer targets in passing argument differ
in signedness" warning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:40:58 +00:00
Love Hörnquist Åstrand
d8c9cace35 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:28:17 +00:00
Love Hörnquist Åstrand
3c6cb82e67 Less "pointer targets in passing argument differ in signedness" warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:27:49 +00:00
Love Hörnquist Åstrand
e6fc90db6d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:26:41 +00:00
Love Hörnquist Åstrand
27d503a511 (mic_des3): make sure message_buffer doesn't point to free()ed memory
on failure. Pointed out by IBM checker.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 09:55:37 +00:00
Love Hörnquist Åstrand
64f9c706ec (_krb5_pk_verify_sign): Use hx509_get_one_cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:32:38 +00:00
Love Hörnquist Åstrand
dc41bf452b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:30:01 +00:00
Love Hörnquist Åstrand
c5a313c313 (create_checksum): provide a error message that a key checksum needs a key.
From Andew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:20:30 +00:00
Love Hörnquist Åstrand
1d8bb73fcf DH and RSA method names are renamed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:59:30 +00:00
Love Hörnquist Åstrand
ed00352654 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:58:10 +00:00
Love Hörnquist Åstrand
59641f933c print the lengths when they don't match.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:22 +00:00
Love Hörnquist Åstrand
7214c1cc3b Fix a off by one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:05 +00:00
Love Hörnquist Åstrand
a20fd6a283 (ENGINE_load_builtin_engines): use RSA_imath_method for the building engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:40:31 +00:00
Love Hörnquist Åstrand
8d32354103 expose RSA_imath_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:34:02 +00:00
Love Hörnquist Åstrand
03dd091073 (RSA_check_key): Do sign/verify instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:33:28 +00:00
Love Hörnquist Åstrand
c91b4361c7 rename the DSA_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:31:58 +00:00
Love Hörnquist Åstrand
5fb1f4adee rename the DH_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:31:31 +00:00
Love Hörnquist Åstrand
a50dbb80fc Default to use rsa-imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:29:39 +00:00
Love Hörnquist Åstrand
755c9d43b3 Add rsa-imath.c to libhcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:28:56 +00:00
Love Hörnquist Åstrand
22c43d0f77 Add RSA support using imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:27:38 +00:00
Love Hörnquist Åstrand
9f59e70024 Now that hcrypto supports DH, remove check for hx509 null DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:24:54 +00:00
Love Hörnquist Åstrand
d465a3d80f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:22:43 +00:00
Love Hörnquist Åstrand
eeb100abe7 Don't call DH_check_pubkey, it doesn't exists in older OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:22:33 +00:00
Love Hörnquist Åstrand
19cf57843c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:20:53 +00:00
Love Hörnquist Åstrand
c5b2dd8771 Add blob about imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:20:14 +00:00
Love Hörnquist Åstrand
f20e2c55d3 IMath is Copyright 2002-2005 Michael J. Fromberger
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:17:29 +00:00
Love Hörnquist Åstrand
1ba2cefc7c Add license file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:16:18 +00:00
Love Hörnquist Åstrand
b118d4fa8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:11:26 +00:00
Love Hörnquist Åstrand
692f240c28 Expose DH_imath_method.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:11:15 +00:00
Love Hörnquist Åstrand
e77be696f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:05:21 +00:00
Love Hörnquist Åstrand
358a5c6aa8 Add imath source, add test_engine_dso to TESTS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:05:09 +00:00
Love Hörnquist Åstrand
0948670ec4 Default to test DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:04:36 +00:00
Love Hörnquist Åstrand
d4dc7b5eba x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:41:50 +00:00
Love Hörnquist Åstrand
037bc4d27e Lets say we have RSA_null_method(), not really useable, but still.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:40:59 +00:00
Love Hörnquist Åstrand
c3e8bf64e5 Print the name of the METHOD.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:39:44 +00:00
Love Hörnquist Åstrand
7b4608758a If there are no arguments, use the internal engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:35:21 +00:00
Love Hörnquist Åstrand
8686b956f7 Cpp rename some ENGINE symbols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:34:36 +00:00
Love Hörnquist Åstrand
eb20007f8a (ENGINE_load_builtin_engines): Load the internal engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:34:03 +00:00
Love Hörnquist Åstrand
eff39c224e Default to use DH-imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:33:08 +00:00
Love Hörnquist Åstrand
2a23d82706 Implement DH using imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:32:28 +00:00
Love Hörnquist Åstrand
3d256d3f4a import core of imath 1.1.9
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:31:07 +00:00
Love Hörnquist Åstrand
6ce1a8fb4d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 07:13:15 +00:00