Commit Graph

1563 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e9d32a0ac5 Use asn1 decoder now that it can handle CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:02 +00:00
Love Hörnquist Åstrand
8a54aaba59 free name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:54 +00:00
Love Hörnquist Åstrand
8b8e3af545 check return values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:44 +00:00
Love Hörnquist Åstrand
f106a2aff9 release mechs when done, cid#75
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:06:03 +00:00
Love Hörnquist Åstrand
bb8485b49c check return value from krb5_decrypt_iov_ivec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:39 +00:00
Love Hörnquist Åstrand
95b4de5cd1 check the right variable, cid#3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:19 +00:00
Love Hörnquist Åstrand
7a8202a4d9 free name on error, cid#69
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:09 +00:00
Love Hörnquist Åstrand
d97b2360b9 free krb5_ccache on error, cid#49
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:58 +00:00
Love Hörnquist Åstrand
62965c76dd free krb5_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:03:48 +00:00
Love Hörnquist Åstrand
b323af1a4a check that ctx is not a null ptr before deref cid#130
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:01 +00:00
Love Hörnquist Åstrand
45b17f2891 check that ctx is not a null ptr before deref cid#131
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:51 +00:00
Love Hörnquist Åstrand
c90f113531 check that ctx is not a null ptr before deref cid#132
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:41 +00:00
Love Hörnquist Åstrand
89632983d3 check that ctx is not a null ptr before deref cid#133
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:30 +00:00
Love Hörnquist Åstrand
92896a8aab check that ctx is not a null ptr before deref cid#140
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:20 +00:00
Love Hörnquist Åstrand
b35c56fff6 check for value of get_mic, not that is a pointer. cid#141
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:10 +00:00
Love Hörnquist Åstrand
0e01d8fa11 check for value of get_mic, not that is a pointer. cid#141
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:00 +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
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
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
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
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
Love Hörnquist Åstrand
25a7b258ea make sure we dont print off the end of the gss_buffer_t, they are defined to not included NULL, in heimdal they are but thats an implementation detail, dont teach people about that. From: Christian Krause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:52 +00:00
Love Hörnquist Åstrand
dc5e4b8033 try handle gss_import_name() better, its not really perfect, its breaks spengo inquire_names_for_mech, but that less common....
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:18:15 +00:00
Love Hörnquist Åstrand
6ae0927545 Use wrapping of the error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:23:45 +00:00
Love Hörnquist Åstrand
a002d9be31 heimdal smaller includes no ntlm, again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:23:34 +00:00
Love Hörnquist Åstrand
6571f41a67 heimdal smaller includes no ntlm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:23:22 +00:00
Love Hörnquist Åstrand
306628d12c switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:37 +00:00
Love Hörnquist Åstrand
2de2b05fcb switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:28 +00:00
Love Hörnquist Åstrand
fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand
b994e453e8 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:17 +00:00
Love Hörnquist Åstrand
c3548336ef Drop duplicate gss_inquire_sec_context_by_oid, From Christin Krause.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:24 +00:00
Love Hörnquist Åstrand
c4ed8e9588 point to msft documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:41 +00:00
Love Hörnquist Åstrand
2d85294ede Default to use the username as passed in by the user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-14 15:27:42 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
67cd683b98 ifNOTdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:52 +00:00
Love Hörnquist Åstrand
5829611b38 use macro
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:45 +00:00
Love Hörnquist Åstrand
d1e3f79583 Mark gsskrb5_set_send_to_kdc deprecated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:37 +00:00
Love Hörnquist Åstrand
1f6d6bb605 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:24:33 +00:00
Love Hörnquist Åstrand
f7090285fd make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:14:09 +00:00