Commit Graph

748 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
314fb19bfd Use TEST.H5L.ORG instead of EXAMPLE.ORG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:34:56 +00:00
Love Hörnquist Åstrand
dcb53a0099 Sprinkle error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 17:19:17 +00:00
Love Hörnquist Åstrand
62430a07d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:55:26 +00:00
Love Hörnquist Åstrand
343b2cb1c2 (hx509_query_match_cmp_func): return 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:43:24 +00:00
Love Hörnquist Åstrand
159fc828ab add context variable to cmp function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:31:41 +00:00
Love Hörnquist Åstrand
c226612caa (hx509_query_match_cmp_func): allow setting the match function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:27:49 +00:00
Love Hörnquist Åstrand
1186389444 set more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:58:16 +00:00
Love Hörnquist Åstrand
77e4ca555d Return less EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:57:16 +00:00
Love Hörnquist Åstrand
b80776d43c add more pkcs11 errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:56:02 +00:00
Love Hörnquist Åstrand
9a6b638fb0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:39:27 +00:00
Love Hörnquist Åstrand
b5eb125380 more error-codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:38:08 +00:00
Love Hörnquist Åstrand
1f10971511 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:37:11 +00:00
Love Hörnquist Åstrand
de70ab808f Return less EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:36:20 +00:00
Love Hörnquist Åstrand
6bc5a77a26 sprinkel more hx509_set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:26:58 +00:00
Love Hörnquist Åstrand
3d552d8a43 Return less EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:08:32 +00:00
Love Hörnquist Åstrand
a6726ae8e3 Pass in context to _hx509_parse_private_key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:00:29 +00:00
Love Hörnquist Åstrand
a6ad00f6e0 return less EINVAL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:57:59 +00:00
Love Hörnquist Åstrand
ff31485ed0 Sprinkle more hx509_context so we can return propper errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:48:18 +00:00
Love Hörnquist Åstrand
43c1cc11e7 add HX509_PARSING_KEY_FAILED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:45:03 +00:00
Love Hörnquist Åstrand
f58f609484 Sprinkle more hx509_context so we can return propper errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:34:21 +00:00
Love Hörnquist Åstrand
7f316a5b1e Sprinkle more hx509_context so we can return propper errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:21:17 +00:00
Love Hörnquist Åstrand
e04a318438 add context variable to _hx509_collector_private_key_add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:13:34 +00:00
Love Hörnquist Åstrand
e4ce12b8d1 unbreak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:09:49 +00:00
Love Hörnquist Åstrand
da56224c8e No more EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:43:45 +00:00
Love Hörnquist Åstrand
c0a1b50548 add HX509_LOCAL_ATTRIBUTE_MISSING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:38:46 +00:00
Love Hörnquist Åstrand
23a7e5e2b2 (hx509_cert_get_base_subject): one less EINVAL
(_hx509_cert_private_decrypt): one less EINVAL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:30:04 +00:00
Love Hörnquist Åstrand
fa2abca3b4 comment to clearify success-case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:11:58 +00:00
Love Hörnquist Åstrand
94c6bdf852 indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:33 +00:00
Love Hörnquist Åstrand
32219af692 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:07 +00:00
Love Hörnquist Åstrand
44b1d77058 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:15:08 +00:00
Love Hörnquist Åstrand
be10a19d3e clean memory before free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:13:53 +00:00
Love Hörnquist Åstrand
1f571d04ab Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:13:35 +00:00
Love Hörnquist Åstrand
35e6948538 (_hx509_private_key2SPKI): indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 22:43:34 +00:00
Love Hörnquist Åstrand
4d08f3ebbf Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 22:30:45 +00:00
Love Hörnquist Åstrand
725278a60e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 21:12:52 +00:00
Love Hörnquist Åstrand
f227616601 Read 50 kilobyte random data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 21:12:32 +00:00
Love Hörnquist Åstrand
0325e5dc59 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 21:08:11 +00:00
Love Hörnquist Åstrand
e9d03bde61 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 21:00:05 +00:00
Love Hörnquist Åstrand
4045ae9f70 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:47:13 +00:00
Love Hörnquist Åstrand
ae6596c3be Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:37:49 +00:00
Love Hörnquist Åstrand
24e79ac572 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:32:41 +00:00
Love Hörnquist Åstrand
1eb85d5451 (hx509_certs_add): add comment on refcounting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:21:51 +00:00
Love Hörnquist Åstrand
df5da7edfe Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:12:42 +00:00
Love Hörnquist Åstrand
1860dc7db2 (hx509_crypto_destroy): free oid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:04:06 +00:00
Love Hörnquist Åstrand
1f77265f5b Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:55:08 +00:00
Love Hörnquist Åstrand
0ae86fa160 Clean error string on failure just to make sure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:50:31 +00:00
Love Hörnquist Åstrand
5407ae308c Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:42:20 +00:00
Love Hörnquist Åstrand
99b5369cf2 Try to not leak memory (again).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:35:30 +00:00
Love Hörnquist Åstrand
66c67cb944 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:20:18 +00:00
Love Hörnquist Åstrand
561f5ca9c9 use a sensable content type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:19:43 +00:00