Commit Graph

23308 Commits

Author SHA1 Message Date
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
a3107b9af4 free hx509_query on non matching cert. cid#120
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:48 +00:00
Love Hörnquist Åstrand
1bcabc9f49 dont double free on error cid#155
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:38 +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
2edb783bf7 check NULL pointer before use, cid#137, 136, 135
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:08 +00:00
Love Hörnquist Åstrand
46d54811be init count before use, coverity #150
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:58 +00:00
Love Hörnquist Åstrand
bedf5bc77e init content before use coverity #146
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:48 +00:00
Love Hörnquist Åstrand
c5ff97dc5b init content before use coverity #147
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:38 +00:00
Love Hörnquist Åstrand
f964fe1beb init content before use coverity #148
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:28 +00:00
Love Hörnquist Åstrand
d24b24e07e init content before use coverity #149
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:18 +00:00
Love Hörnquist Åstrand
e20ab9787f avoid double free, coverity #153
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:08 +00:00
Love Hörnquist Åstrand
dd23f4a8a9 free name on error, from coverity #115
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:57:58 +00:00
Love Hörnquist Åstrand
a40d246195 simplify CMS handling, coverity #158
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:57:40 +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
4fd6aad19a include krb5_locl.h only, no need to pull in krb5.h twice
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:57:09 +00:00
Love Hörnquist Åstrand
7592a925b5 avoid strndup since it doesnt do what we expect on aix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:56:54 +00:00
Love Hörnquist Åstrand
b27e9cbb2e use krb5_data_alloc to allocate memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:56:35 +00:00
Love Hörnquist Åstrand
293a444622 add hx509 error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:56:10 +00:00
Love Hörnquist Åstrand
63d1d155f2 switch from unsigned int to int for iov_count
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:56 +00:00
Love Hörnquist Åstrand
af7fda88cd add x86_64
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:45 +00:00
Love Hörnquist Åstrand
9672fbd8ec fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:35 +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
3be0e14d73 use DESTDIR when installing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:54:53 +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
3955c302b5 use the asn1 decoder directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:30 +00:00
Love Hörnquist Åstrand
301c445596 new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:20 +00:00
Love Hörnquist Åstrand
9586101a49 use the krb5_crypto directly, skipping some per packet calculation, make cfx handling simpler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:10 +00:00
Love Hörnquist Åstrand
7c4ee0b0e2 fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:59 +00:00
Love Hörnquist Åstrand
ae6f751fc0 support egrep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:49 +00:00
Love Hörnquist Åstrand
a1d66eb655 use asn1 decoder function directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:39 +00:00
Love Hörnquist Åstrand
d6f7c4e272 use krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:29 +00:00
Love Hörnquist Åstrand
747f6e9f77 some failes pass or succeed based on size_t size, lets have it either way for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:19 +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
efccbcdeff init optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:48 +00:00
Love Hörnquist Åstrand
9c1460fe80 dont need cfx flag here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:38 +00:00
Love Hörnquist Åstrand
d4f5c19c1d make IS_CFX a more_flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:22 +00:00
Love Hörnquist Åstrand
691da91d10 pass back header/trailer sizes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:50:10 +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
Love Hörnquist Åstrand
9880969de0 use decode_EncAPRepPart directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-29 19:34:34 +00:00
Love Hörnquist Åstrand
136c41e4cf truncate the number so it will if in a signed 32bit integer, apples pkinit uses signed int32 for the pkinit nonce
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-29 19:34:23 +00:00