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:
		@@ -57,6 +57,9 @@ OM_uint32 _gss_ntlm_inquire_cred
 | 
				
			|||||||
    if (mechanisms)
 | 
					    if (mechanisms)
 | 
				
			||||||
	*mechanisms = GSS_C_NO_OID_SET;
 | 
						*mechanisms = GSS_C_NO_OID_SET;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (cred_handle == GSS_C_NO_CREDENTIAL)
 | 
				
			||||||
 | 
						return GSS_C_NO_CREDENTIAL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (mechanisms) {
 | 
					    if (mechanisms) {
 | 
				
			||||||
        ret = gss_create_empty_oid_set(minor_status, mechanisms);
 | 
					        ret = gss_create_empty_oid_set(minor_status, mechanisms);
 | 
				
			||||||
        if (ret)
 | 
					        if (ret)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user