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
Love Hörnquist Åstrand
516245576b
Bleichenbacher bad cert from Ralf-Philipp Weinmann and Andrew Pyshkin, pad right.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:01:45 +00:00
Love Hörnquist Åstrand
1b8fc81fde
yutaka test certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:07:55 +00:00
Love Hörnquist Åstrand
8f46285916
Add test for yutaka certs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:00:11 +00:00
Love Hörnquist Åstrand
6168bc80da
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:46 +00:00
Love Hörnquist Åstrand
41e00c0c70
Add a strict rfc3280 verification flag. rfc3280 requires certificates
...
to have KeyUsage.keyCertSign if they are to be used for signing of
certificates, but the step in the verifiation is optional.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:35 +00:00
Love Hörnquist Åstrand
697eae9c9d
Improve printing and error reporting.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:50:17 +00:00
Love Hörnquist Åstrand
d6ac5d5275
test bleichenbacher from eay
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 22:04:42 +00:00
Love Hörnquist Åstrand
24ff7295c8
Make common function for all getarg_strings and hx509_certs_append
...
commonly used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 20:08:42 +00:00
Love Hörnquist Åstrand
62d57dc40e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 19:52:00 +00:00
Love Hörnquist Åstrand
34ce1baf38
HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT is a negative flag, treat it
...
was such.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 19:22:53 +00:00
Love Hörnquist Åstrand
7c40efd741
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:43:11 +00:00
Love Hörnquist Åstrand
a688982129
Use the new add_GeneralNames function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:43:00 +00:00
Love Hörnquist Åstrand
b226d0acf5
Adapt to new signature of hx509_cms_unenvelope.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:38:36 +00:00
Love Hörnquist Åstrand
15a66286ab
Add HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:35:53 +00:00
Love Hörnquist Åstrand
9358faef60
Allow passing in encryptedContent and flag.
...
Add new flag HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:31:34 +00:00
Love Hörnquist Åstrand
5675de7426
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:54:12 +00:00
Love Hörnquist Åstrand
dd04abbea7
cast void * to char * when using it for %s formating in printf.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:54:01 +00:00
Love Hörnquist Åstrand
2acf7df729
New function _hx509_Name_to_string.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:52:39 +00:00
Love Hörnquist Åstrand
dcfd1554d2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 10:58:26 +00:00
Love Hörnquist Åstrand
39ca3ae4a5
Sprinkle error messages.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 10:58:17 +00:00
Love Hörnquist Åstrand
3a6a84147b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 10:44:31 +00:00
Love Hörnquist Åstrand
dbd04c392e
Sprinkle even more error messages.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 10:43:48 +00:00
Love Hörnquist Åstrand
bb0a57b254
Sprinkle some more error strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 09:22:07 +00:00
Love Hörnquist Åstrand
6e2407cfb9
(find_CMSIdentifier): only free string when we allocated one.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 09:11:30 +00:00
Love Hörnquist Åstrand
a45b9ccd18
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 09:07:26 +00:00
Love Hörnquist Åstrand
2fc4f25c93
Don't build most of the pkcs11 module if there are no dlopen().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 09:07:15 +00:00
Love Hörnquist Åstrand
ea514adfd7
Comment about the DIR module.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 08:56:48 +00:00
Love Hörnquist Åstrand
2b00422f5e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 21:50:35 +00:00