Commit Graph

4049 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a54887f054 Add krb5_storage_truncate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:39:41 +00:00
Love Hörnquist Åstrand
c85a02340e use krb5_storage_truncate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:39:29 +00:00
Love Hörnquist Åstrand
2331b4edf5 start doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:39:20 +00:00
Love Hörnquist Åstrand
d664c86e34 drop unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-19 19:51:04 +00:00
Love Hörnquist Åstrand
109ba164cd make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-19 19:51:00 +00:00
Love Hörnquist Åstrand
fc5628d72f add krb5_init_creds_prompt_expire and use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-19 19:50:50 +00:00
Love Hörnquist Åstrand
6dbf91d7e3 send supportedCMSTypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:01:15 +00:00
Love Hörnquist Åstrand
49c15486ef remove krb_error from init_creds_opt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:01:05 +00:00
Love Hörnquist Åstrand
0bbf9d3e6f only set password if we have one, dont free krb-error since it removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:56 +00:00
Love Hörnquist Åstrand
38e75f99c1 remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:46 +00:00
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