Commit Graph

685 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand f8bf18b7cc (p11_list_keys): make element of search_data[0] constants and set them later
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:02:01 +00:00
Love Hörnquist Åstrand 96b35b53be Comment out random-data for now, not all hosts have /dev/random.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 03:54:12 +00:00
Love Hörnquist Åstrand 851f70db99 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 08:28:04 +00:00
Love Hörnquist Åstrand ec923266e2 set ret, remember to free ivdata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 04:00:14 +00:00
Love Hörnquist Åstrand 5fbd79ace1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 14:03:30 +00:00
Love Hörnquist Åstrand f20917383b Include <parse_bytes.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 14:03:16 +00:00
Love Hörnquist Åstrand d81ab80747 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:48:51 +00:00
Love Hörnquist Åstrand aeb51a3738 Test random-data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:48:42 +00:00
Love Hörnquist Åstrand e888eef16c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:48:11 +00:00
Love Hörnquist Åstrand 5a9e545620 RAND_bytes() return 1 for cryptographic strong data, check for that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:47:59 +00:00
Love Hörnquist Åstrand 5ae45a4523 random-data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:45:20 +00:00
Love Hörnquist Åstrand 48b82f034c Add random-data command, use sl_slc_help.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 13:43:53 +00:00
Love Hörnquist Åstrand 34b1ead641 Add random-data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 12:50:52 +00:00
Love Hörnquist Åstrand ead04d2e0e Remember to release certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 09:50:49 +00:00
Love Hörnquist Åstrand 0079e7417b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:44:17 +00:00
Love Hörnquist Åstrand 96204e40a8 prefix der primitives with der_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:42:43 +00:00
Love Hörnquist Åstrand dcc23a24d0 Match the prompt type PROMPT exact.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:41:05 +00:00
Love Hörnquist Åstrand 7bb7aad766 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:23:00 +00:00
Love Hörnquist Åstrand 3c1036c1ca Drop heim_any.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:22:46 +00:00
Love Hörnquist Åstrand a6e9cb9d8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 21:14:27 +00:00
Love Hörnquist Åstrand 42ed1a9b6e (p11_release_module): j needs to be used as inter loop index. From
Douglas Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 21:14:14 +00:00
Love Hörnquist Åstrand 0465782568 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 20:29:13 +00:00
Love Hörnquist Åstrand 1a196d0776 (parse_rsa_private_key): try all password and prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 20:28:49 +00:00
Love Hörnquist Åstrand e2e7e84803 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-10 09:34:39 +00:00
Love Hörnquist Åstrand 4f9be7d03f Parameterise the invocation of hxtool, so we can make it run under TESTS_ENVIRONMENT. From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-10 09:24:07 +00:00
Love Hörnquist Åstrand abd07ec6b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 21:35:53 +00:00
Love Hörnquist Åstrand 6cdb5d4a8c Put all test stuck at 2006-09-25 since all their chains where valied then.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 21:35:42 +00:00
Love Hörnquist Åstrand 2ecfc9e327 Implement --time= option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 21:34:42 +00:00
Love Hörnquist Åstrand 15e871b6a2 Add option time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 21:26:51 +00:00
Love Hörnquist Åstrand a975d889f2 test_name is a PROGRAM_TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 21:24:49 +00:00
Love Hörnquist Åstrand 7262d08928 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 13:46:31 +00:00
Love Hörnquist Åstrand e22334b717 Return HX509_PKCS11_NO_SLOT when there are no slots and
HX509_PKCS11_NO_TOKEN when there are no token. For use in PAM modules
that want to detect when to use smartcard login and when not
to. Patched based on code from Douglas Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 13:40:46 +00:00
Love Hörnquist Åstrand 986fe523a1 Add new pkcs11 related errors in a new section: keystore related error.
Patched based on code from Douglas Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-08 13:39:27 +00:00
Love Hörnquist Åstrand c22dafa306 fix generation of prototypes headerfiles.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:35:14 +00:00
Love Hörnquist Åstrand b2e2712dbe Make depenency for slc built files just like everywhere else.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:12:20 +00:00
Love Hörnquist Åstrand c8c86a6acc Fix depenency for slc built files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:10:13 +00:00
Love Hörnquist Åstrand 7b60dcb344 Add all openssl algs and init asn1 et
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 12:07:41 +00:00
Love Hörnquist Åstrand 61d61bda55 split build files into dist_ and noinst_ SOURCES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 08:40:34 +00:00
Love Hörnquist Åstrand 9d071e5d8a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 13:16:15 +00:00
Love Hörnquist Åstrand 00b40cc9a8 (parse_rsa_private_key): free type earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 13:16:07 +00:00
Love Hörnquist Åstrand af0764a59a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 12:53:27 +00:00
Love Hörnquist Åstrand 556a53109c (parse_rsa_private_key): free type after use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 12:08:20 +00:00
Love Hörnquist Åstrand b2f9603d3f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:31:06 +00:00
Love Hörnquist Åstrand bf89bf0115 (_hx509_Name_to_string): remove dup const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:23:29 +00:00
Love Hörnquist Åstrand 04c2dfb7c6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 21:48:45 +00:00
Love Hörnquist Åstrand d02fc9dbf1 Add more libs to libhx509
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 21:35:24 +00:00
Love Hörnquist Åstrand af7f029a28 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 18:05:53 +00:00
Love Hörnquist Åstrand dce4b55512 Fix double free's, NULL ptr de-reference, and conform better to pkcs11.
From Douglas Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 18:05:05 +00:00
Love Hörnquist Åstrand b98c29b898 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:09:10 +00:00
Love Hörnquist Åstrand a8a340457c starfield test root cert and Ralf-Philipp and Andreis correctly padded bad cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:02:43 +00:00