Commit Graph

1976 Commits

Author SHA1 Message Date
Love Hornquist Astrand
b17ad58fe5 n0ll names check 2009-09-30 01:18:04 -07:00
Love Hornquist Astrand
d4e2da58cf count certs that verify and if no verify at all, whine 2009-09-30 01:17:50 -07:00
Love Hornquist Astrand
215b3813f6 teletexString is now a real string type 2009-09-30 00:54:13 -07:00
Love Hornquist Astrand
682e7e012c export hx509_certs_ref 2009-09-29 11:28:24 -07:00
Love Hornquist Astrand
0e762f8689 support output passphrases for copy certificate 2009-09-29 11:28:12 -07:00
Love Hornquist Astrand
50de7c4203 (hx509_lock_free): allow freeing NULL 2009-09-29 11:12:32 -07:00
Love Hornquist Astrand
17cd6e2d5f Use hx509_certs_ref() 2009-09-29 09:58:47 -07:00
Love Hornquist Astrand
ec47674c2b expose hx509_certs_ref 2009-09-29 09:42:15 -07:00
Love Hornquist Astrand
92075b8825 add allow wrong oid flag, short for trust anchors 2009-09-23 00:02:46 -07:00
Love Hornquist Astrand
6b3fb1c674 drop $Id$ 2009-09-21 19:15:00 -07:00
Love Hornquist Astrand
2ef2c451a4 drop $Id$ 2009-09-21 19:14:50 -07:00
Love Hornquist Astrand
d7dcaae909 str unused, drop 2009-09-21 06:26:39 -07:00
Love Hornquist Astrand
e247375e1c add hx509_print_cert 2009-09-21 06:24:22 -07:00
Love Hornquist Astrand
b9c11926f7 add hx509_print_cert 2009-09-21 06:24:14 -07:00
Love Hornquist Astrand
9c89bf0a73 use hx509_print_cert 2009-09-21 06:23:34 -07:00
Love Hornquist Astrand
7a0af9ae18 Its ok to pass down NULL as the context handle to error string function
Just ignore setting the error string if that is the case.
2009-09-21 06:21:23 -07:00
Love Hornquist Astrand
e538b1e84b simplify, make sure length is set properly 2009-09-19 12:57:30 -07:00
Love Hornquist Astrand
26aefa1853 Don't free rsa (NULL) on failure to parse key 2009-09-19 12:35:27 -07:00
Love Hornquist Astrand
3d7488398a abstract out depenecy tracking for tools 2009-09-16 05:40:55 -07:00
Love Hornquist Astrand
dc4e8669ea Abstract out asn1_compile and slc 2009-09-16 00:12:13 -07:00
Love Hornquist Astrand
9f5d22b98a define and use d2i_RSAPublicKey 2009-08-21 18:57:09 -07:00
Love Hornquist Astrand
72e306c7e3 Push cert down deaper into the stack 2009-08-21 18:34:21 -07:00
Love Hornquist Astrand
aee7858b16 Clean new files 2009-08-21 15:14:57 -07:00
Love Hornquist Astrand
edb688c1e7 don't run EC test if there is broken EC support 2009-08-21 14:04:13 -07:00
Love Hornquist Astrand
30aa8a7166 there is already one verify, don't make two 2009-08-21 13:42:22 -07:00
Love Hornquist Astrand
03cb3aa56b use EVP_MD_CTX_create 2009-08-20 17:13:09 -07:00
Love Hornquist Astrand
27b8565d5f Make verifing detached signatures easier 2009-08-20 16:27:25 -07:00
Love Hornquist Astrand
e3da85a4ab add aliases to commands 2009-08-20 14:05:18 -07:00
Love Hornquist Astrand
f0aec0e637 allow one argument 2009-08-20 10:20:09 -07:00
Love Hornquist Astrand
62dc336bf9 Friendlier signing 2009-08-20 09:59:05 -07:00
Love Hornquist Astrand
a7b2f1460b Allow --no-signer to work 2009-08-20 08:50:27 -07:00
Love Hornquist Astrand
a1f6faed25 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:23:01 +02:00
Love Hornquist Astrand
eceaab6670 use ct_memcmp 2009-08-15 14:24:19 +02:00
Love Hornquist Astrand
0bb8ad20d3 Use EVP for digest signatures 2009-08-15 14:24:00 +02:00
Love Hornquist Astrand
92288a7137 Avoid testing ECDSA when hcrypto doesn't support it 2009-08-14 16:24:35 +02:00
Love Hornquist Astrand
c9bc9957aa add ecdsa: hcrypto null if we are not using openssl 2009-08-14 16:21:01 +02:00
Love Hornquist Astrand
a72efaea19 drop dirfd(), and move to roken 2009-08-14 10:40:40 +02:00
Love Hornquist Astrand
7c18fc4cfe Solaris doesn't have dirfd(), lets pull it out from DIR * 2009-08-14 10:12:44 +02:00
Love Hornquist Astrand
d3828fe201 Don't depend on that memcmp() have same return value on all platforms
BSDish libc returns -14 3 14, while GNU LIBC returns -1 3 1.
2009-08-14 05:34:50 +02:00
Love Hornquist Astrand
658a7b52ca clean better 2009-08-06 10:19:51 +02:00
Love Hornquist Astrand
1fc7af5bcf Add missing files 2009-08-05 11:13:01 +02:00
Love Hornquist Astrand
5373d3a869 Allow parsing of cert fail unless HX509_CERTS_UNPROTECT_ALL is set. 2009-07-30 10:20:04 +02:00
Love Hornquist Astrand
b1dc4dc97e (_hx509_Name_to_string): free memory on failure (that should not happen) [CID 176] 2009-07-30 07:25:36 +02:00
Love Hörnquist Åstrand
4c302b52f8 remove unused type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-17 18:10:59 +00:00
Love Hörnquist Åstrand
b57571d609 add depencies for ocsp_asn1.h pkcs10_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:28 +00:00
Love Hörnquist Åstrand
2f58f14e09 add hx509_peer_info_add_cms_alg and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:39 +00:00
Love Hörnquist Åstrand
357a115f65 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:06 +00:00
Love Hörnquist Åstrand
3d88641010 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:55 +00:00
Love Hörnquist Åstrand
f0f5f236dc Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:45 +00:00
Love Hörnquist Åstrand
001e058f91 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:34 +00:00