Commit Graph

7 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
08bb397dbc Reverse order of HEIMDAL_MUTEX_unlock and gss_release_cred to avoid
deadlock, from Luke Howard <lukeh@padl.com>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 19:27:11 +00:00
Love Hörnquist Åstrand
43ee62bf0b (gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and
use the default cred then.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:02 +00:00
Love Hörnquist Åstrand
42f3fc029a - do some basic locking (no reference counting so contexts can be
removed while still used)
- don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct
- make sure all lifetime are returned in seconds left until expired,
  not in unix epoch


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:14 +00:00
Love Hörnquist Åstrand
db086cdf25 (gss_inquire_cred): take care to set export value to something sane
before we start so caller will have harmless values in them if we
fails


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:42:14 +00:00
Jacques A. Vidrine
fed304b01c RFC 2743 says (regarding gss_acquire_cred),
``A caller may provide the value NULL (GSS_C_NO_NAME) for
  desired_name, which will be interpreted as a request for a
  credential handle that will invoke default behavior when passed
  to GSS_Init_sec_context(), if cred_usage is GSS_C_INITIATE
  or GSS_C_BOTH, or GSS_Accept_sec_context(), if cred_usage is
  GSS_C_ACCEPT or GSS_C_BOTH.''


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:02:45 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
931c5154bc new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 16:39:24 +00:00