Commit Graph

12895 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
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
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
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
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
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
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
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
Love Hörnquist Åstrand
e6f8e55360 better language in error, make nounce more random
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-29 19:34:11 +00:00
Love Hörnquist Åstrand
174cae0ba1 better error message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:46 +00:00
Love Hörnquist Åstrand
b4539ac324 better error checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:36 +00:00
Love Hörnquist Åstrand
de3c767d3a allow testing on sha1 hash in cert queries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:26 +00:00
Love Hörnquist Åstrand
02f8830992 try slight better english, from Julius
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:14 +00:00
Love Hörnquist Åstrand
ed56de38d9 make profiles const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:05 +00:00
Love Hörnquist Åstrand
a5013943ed better english
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:04:52 +00:00
Love Hörnquist Åstrand
2dab920021 add length_HDB_Ext_PKINIT_acl, encode_HDB_Ext_PKINIT_acl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-17 21:33:10 +00:00
Love Hörnquist Åstrand
dd4ed63ff5 fix uuid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-16 21:12:52 +00:00
Love Hörnquist Åstrand
8879177460 fix documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-15 04:44:04 +00:00
Love Hörnquist Åstrand
ada58d9cd3 Additional patch from Christan Krause to handle asprintf better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-15 04:43:42 +00:00