Commit Graph

9948 Commits

Author SHA1 Message Date
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
25622c7c44 (d2i_RSAPrivateKey): Return NULL on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:52:38 +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
0a3bd1b7b8 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 20:13:52 +00:00
Love Hörnquist Åstrand
9e4236598e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 18:26:43 +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
a1005e6416 use libtool to build binaries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:57:14 +00:00
Love Hörnquist Åstrand
9478fbdcac Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 10:15:53 +00:00
Love Hörnquist Åstrand
fa6edba40b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 10:14:32 +00:00
Love Hörnquist Åstrand
af4bc603f4 (hdb_generate_key_set): free list of enctype when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:40:12 +00:00
Love Hörnquist Åstrand
2eb73a3be0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:37:17 +00:00
Love Hörnquist Åstrand
56fa3ffc37 Use old implementation of gss_add_oid_set_member, it leaks less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:36:13 +00:00
Love Hörnquist Åstrand
3eb38897de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:02:56 +00:00
Love Hörnquist Åstrand
d40964f04f free krb5_crypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:02:26 +00:00
Love Hörnquist Åstrand
72320e9d0c free krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:00:15 +00:00
Love Hörnquist Åstrand
cb3930a054 (gss_release_name): free input_name it-self.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:59:06 +00:00
Love Hörnquist Åstrand
d2388f8176 Allocate the memory we later use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:32:40 +00:00
Love Hörnquist Åstrand
b04201d5d4 Make test work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:13:11 +00:00
Love Hörnquist Åstrand
8ea293e426 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:11:43 +00:00
Love Hörnquist Åstrand
09196ad8d5 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:00:33 +00:00
Love Hörnquist Åstrand
e59d785334 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:58:53 +00:00
Love Hörnquist Åstrand
ea75cbae34 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:56:44 +00:00
Love Hörnquist Åstrand
4505c1fee6 (arange_free): Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:54:00 +00:00
Love Hörnquist Åstrand
ac32e3d909 (AES_string_to_key): Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 06:50:02 +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
3c74296627 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:09:08 +00:00
Love Hörnquist Åstrand
51f86669ef Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 23:07:32 +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
6968267966 (unix_bytes): read until the other side give us all or fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 21:09:14 +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
360e32e201 unbreak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 20:51:17 +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