Commit Graph

4039 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
aa0b6e36bc remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:36 +00:00
Love Hörnquist Åstrand
4c29ff9e2f doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:26 +00:00
Love Hörnquist Åstrand
26629cff5c doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:17 +00:00
Love Hörnquist Åstrand
6811c7dce6 add BTMM style pkinit reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:07 +00:00
Love Hörnquist Åstrand
c6e9b9cabc simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 04:59:34 +00:00
Love Hörnquist Åstrand
daa7c34ab3 turn off supportedCMSTypes for now, allow kdc not sending correct certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:33:09 +00:00
Love Hörnquist Åstrand
28de60a9bc stricter check that enctype matches checksum type when using keyed checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:59 +00:00
Love Hörnquist Åstrand
dc7cea0417 add flags to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:03 +00:00
Love Hörnquist Åstrand
5da8d78b54 add [gs]_friendly_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:32 +00:00
Love Hörnquist Åstrand
0aef0e3e46 add krb5_cc_[gs]et_friendly_name, match MIT config name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:03 +00:00
Love Hörnquist Åstrand
eaa7e4e854 Deprecate old functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:53 +00:00
Love Hörnquist Åstrand
731f131f32 Make heimdal smaller and deprecate old functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:42 +00:00
Love Hörnquist Åstrand
85de455dde support split processing of AS and add support for keytab/keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:30 +00:00
Love Hörnquist Åstrand
ebdce5d97e add krb5_init_creds_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:19 +00:00
Love Hörnquist Åstrand
8eb10d7b45 better doxygen for krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:45 +00:00
Love Hörnquist Åstrand
a45c993c88 make sure all addresses are added
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:38 +00:00
Love Hörnquist Åstrand
242139b224 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:28 +00:00
Love Hörnquist Åstrand
554655b628 call cleanup callback on free schedule in setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:08 +00:00
Love Hörnquist Åstrand
ecdf7c3d88 plug memory leak when we find a dup adress
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:47 +00:00
Love Hörnquist Åstrand
e2f40cd57f free only lock on existance, cid#53
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:25 +00:00
Love Hörnquist Åstrand
90e52850c1 free data on error, cid#89
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:14 +00:00
Love Hörnquist Åstrand
f9120fced8 check return value, cid#62
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:04 +00:00
Love Hörnquist Åstrand
4eb662c7a0 free data on failure, cid#86
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:34 +00:00
Love Hörnquist Åstrand
f317fa98cf check the right variable for mallocation failure, cid#9
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:24 +00:00
Love Hörnquist Åstrand
e83545e8f0 release m1, cid#117e
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:14 +00:00
Love Hörnquist Åstrand
a77294556d return error when we cant find enctype, cid#59
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:53 +00:00
Love Hörnquist Åstrand
b1af3f1abc leak less memory on malloc failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:43 +00:00
Love Hörnquist Åstrand
91f2ef3f76 dont leak addr on error, cid#81
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:07 +00:00
Love Hörnquist Åstrand
1abdd59600 dont leak scache context on error, cid#82
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:57 +00:00
Love Hörnquist Åstrand
c96c9b0ced check that valid enctypes are not 0, cid#29
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:43 +00:00
Love Hörnquist Åstrand
6dd6406d82 allow NULL input to krb5_free_config_files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:32 +00:00
Love Hörnquist Åstrand
7f51de4922 check that length > 0, not that data is a pointer, cid#143
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:49 +00:00
Love Hörnquist Åstrand
c1a4666f81 mutex is always allocated, cid#142
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:39 +00:00
Love Hörnquist Åstrand
f97807582c krb5_copy_keyblock: on malloc error, free keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:58 +00:00
Love Hörnquist Åstrand
01720d42b1 free on error cid#68
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:28 +00:00
Love Hörnquist Åstrand
a222d53b7f free utf8 string on failure, cid#87
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:18 +00:00
Love Hörnquist Åstrand
ad71a4584b remove const-ness to please coverity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:57:25 +00:00
Love Hörnquist Åstrand
5fa14d98c0 dont use krb5_enctypes_compatible_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:25 +00:00
Love Hörnquist Åstrand
669aa01712 check that num_data >= 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:14 +00:00
Love Hörnquist Åstrand
83ad3c21e9 use int for num_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:04 +00:00
Love Hörnquist Åstrand
3fd24a3ac3 print pointer with %p
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:54:44 +00:00
Love Hörnquist Åstrand
fd6e3cfb9d use #pragma(pack) on __APPLE__ computers, use int32_t for the time type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:54:33 +00:00
Love Hörnquist Åstrand
c8d75e3e34 use krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:54:18 +00:00
Love Hörnquist Åstrand
5a42051a2d krb5_enctypes_compatible_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:53:44 +00:00
Love Hörnquist Åstrand
318bc750f8 krb5_enctypes_compatible_keys and krb5_c_enctype_compare deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:53:26 +00:00
Love Hörnquist Åstrand
329b5e292b use the asn1 decoder directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:50 +00:00
Love Hörnquist Åstrand
b474c84bd9 use the asn1 decoder directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:40 +00:00
Love Hörnquist Åstrand
953cf8b43e make new pac test fail
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:08 +00:00
Love Hörnquist Åstrand
60d35f97bc use asn1 decoder function directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:58 +00:00
Love Hörnquist Åstrand
7f6d448621 implement the new gss_*_iov interfaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:49:37 +00:00