Return GSS_C_NO_CREDENTIAL if there is no credential, ntlm have (not

yet) a default credential.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22147 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-04 17:58:45 +00:00
parent c9f248b7f0
commit c11e764195

View File

@@ -57,6 +57,9 @@ OM_uint32 _gss_ntlm_inquire_cred
if (mechanisms)
*mechanisms = GSS_C_NO_OID_SET;
if (cred_handle == GSS_C_NO_CREDENTIAL)
return GSS_C_NO_CREDENTIAL;
if (mechanisms) {
ret = gss_create_empty_oid_set(minor_status, mechanisms);
if (ret)