Luke Howard
31af9ba703
gss: use tail queue instead of singly linked list in mechglue
...
The GSS mechglue uses singly linked lists for mechanisms and mechanism objects,
to which new entries are inserted at the head. This breaks ordering of
mechanisms specified in OID sets and in /etc/gss/mech, as they will be back to
front. Use a tail queue instead so that new entries are inserted at the end.
2020-02-04 17:28:35 +11:00
Luke Howard
e9b3b2326d
gssapi: remove non-mech status from _gss_mg_error() from Heimdal-520
...
_gss_mg_error() should only handle mechanism-specific status codes which are
returned in minor_status. major_status has a global namespace.
2019-01-03 14:38:39 -06:00
Luke Howard
83f15553e0
gssapi: import mechglue allocation utility functions from Heimdal-520
...
Apple's Heimdal impelmentation uses a number of utility functions for
allocating names and credentials, to avoid calling malloc or calloc directly.
Import them.
2019-01-03 14:38:39 -06:00
Luke Howard
4a93c4774a
gss: intern OIDs ( #447 )
...
Intern OIDs so that gss_release_oid() can be a NOOP.
2018-12-18 23:28:38 -06:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
7c7dd8e1af
prefix SLIST with HEIM
2010-12-12 11:45:35 -08:00
Asanka Herath
5dcc605f6b
Fix calling conventions for Windows
2010-08-20 13:14:10 -04:00
Love Hornquist Astrand
d890db78a8
Drop RCSID
2009-09-10 09:06:18 -07:00
Love Hörnquist Åstrand
795ee939ea
Add declspec for Windows
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +00:00
Love Hörnquist Åstrand
fd3ca527e1
Free memory in failure case, found by beam.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:19:59 +00:00
Love Hörnquist Åstrand
bee2a593cd
dont keep track of gc_usage, just figure it out at gss_inquire_cred() time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:56:49 +00:00
Love Hörnquist Åstrand
8ed92d4e85
sprinkel _gss_mg_error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:37:54 +00:00
Love Hörnquist Åstrand
d1aeb0f6ce
When calling ->gm_set_cred_option and checking for success, use
...
GSS_S_COMPLETE. From Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:59:43 +00:00
Love Hörnquist Åstrand
f69250b34c
fix argument to gss_release_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:50:49 +00:00
Love Hörnquist Åstrand
348154aed4
(gss_set_cred_option): free memory on failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:35:17 +00:00
Love Hörnquist Åstrand
ce5954837b
(gss_set_cred_option): laod mechs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 17:41:54 +00:00
Love Hörnquist Åstrand
b79c379578
(gss_set_cred_option): support the case where *cred_handle == NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:17:26 +00:00
Love Hörnquist Åstrand
ace187d740
Make work.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 16:20:41 +00:00
Love Hörnquist Åstrand
2ec4456fee
fix compile warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:39:00 +00:00
Love Hörnquist Åstrand
364d347054
Add gss_set_cred_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:27:11 +00:00