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 |
|
Love Hörnquist Åstrand
|
4cd4853c3b
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25244 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:19:22 +00:00 |
|
Love Hörnquist Åstrand
|
c8e9f23dc4
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25243 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:19:12 +00:00 |
|
Love Hörnquist Åstrand
|
becda09568
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25242 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:19:03 +00:00 |
|
Love Hörnquist Åstrand
|
7a23a190a1
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25241 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:53 +00:00 |
|
Love Hörnquist Åstrand
|
2baa886d7a
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25240 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:43 +00:00 |
|
Love Hörnquist Åstrand
|
7df0a533ab
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25239 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:32 +00:00 |
|
Love Hörnquist Åstrand
|
8a5799199b
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25238 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:23 +00:00 |
|
Love Hörnquist Åstrand
|
f290cd306e
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25237 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:13 +00:00 |
|
Love Hörnquist Åstrand
|
9957a09bba
|
Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25236 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-28 01:18:03 +00:00 |
|
Love Hörnquist Åstrand
|
dccd572c45
|
use S_ISDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25228 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:44:41 +00:00 |
|
Love Hörnquist Åstrand
|
2e992827d9
|
remove unused variable, set ret before use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25227 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:44:29 +00:00 |
|
Love Hörnquist Åstrand
|
21ceaf518f
|
clear error string, it makes no sense
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25224 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:43:57 +00:00 |
|
Love Hörnquist Åstrand
|
6fcb49d88f
|
ignore failure when --never-fail flag is passed in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25223 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:43:47 +00:00 |
|
Love Hörnquist Åstrand
|
d17fab3f7b
|
add --never-fail flag to print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25222 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:43:36 +00:00 |
|
Love Hörnquist Åstrand
|
6dc1f7bb98
|
Support parsing keys that have the group parameter include in the
EC_PrivateKey block. PKCS8's -- PRIVATE KEY -- vs PEM's -- EC PRIVATE KEY --
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25221 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:43:26 +00:00 |
|
Love Hörnquist Åstrand
|
1eca860a46
|
Pass up error code from PEM format parser.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25220 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:43:11 +00:00 |
|
Love Hörnquist Åstrand
|
afa607c8f4
|
pass more bit so that EC keys works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25219 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:42:58 +00:00 |
|
Love Hörnquist Åstrand
|
b2fe5bd2a0
|
handle EC private keys for real
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25218 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:42:45 +00:00 |
|
Love Hörnquist Åstrand
|
42717a8d09
|
Make sure that we can parse EC private keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25217 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-25 23:42:31 +00:00 |
|
Love Hörnquist Åstrand
|
213f234111
|
use flags to hx509_cms_envelope_1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25207 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-09 14:22:16 +00:00 |
|
Love Hörnquist Åstrand
|
a1b70e2edc
|
better error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25193 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:04:02 +00:00 |
|
Love Hörnquist Åstrand
|
f6800d16eb
|
catch memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25192 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:03:48 +00:00 |
|
Love Hörnquist Åstrand
|
f7629cddeb
|
make error reporting better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25191 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:03:36 +00:00 |
|
Love Hörnquist Åstrand
|
0da1e21fdb
|
use right variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25190 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:03:24 +00:00 |
|
Love Hörnquist Åstrand
|
5385679acd
|
cast size_t to int for "%.*s"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25184 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:02:14 +00:00 |
|
Love Hörnquist Åstrand
|
a041ea8906
|
remove unused return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25179 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-06 19:01:15 +00:00 |
|
Love Hörnquist Åstrand
|
b160538c43
|
hx509_peer_info_add_cms_algs rename to hx509_peer_info_add_cms_alg()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25166 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-04 06:16:30 +00:00 |
|
Love Hörnquist Åstrand
|
ee02b6c453
|
add hx509_peer_info_add_cms_algs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25165 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-05-04 06:16:17 +00:00 |
|
Love Hörnquist Åstrand
|
8b2ed3a418
|
regen with unbroken otherName parser
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25145 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-04-27 02:19:11 +00:00 |
|
Love Hörnquist Åstrand
|
71ca2c0415
|
shuffle for openssl-1.0.0-beta1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25144 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-04-27 02:18:56 +00:00 |
|
Love Hörnquist Åstrand
|
b7064afbcf
|
Find first CN= in the name, and try to match the hostname on that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25143 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2009-04-27 02:18:44 +00:00 |
|