lib/gssapi/ntlm: _gss_ntlm_inquire_cred dead code removal
do not check 'cred_handle' for GSS-C_NO_CREDENTIAL twice. Change-Id: I3629aa49b2d20d3444c6ede46715d65b6072484f
This commit is contained in:
@@ -76,10 +76,6 @@ _gss_ntlm_inquire_cred
|
|||||||
*cred_usage = 0;
|
*cred_usage = 0;
|
||||||
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_S_NO_CRED;
|
|
||||||
|
|
||||||
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