gss_preauth: remove dead code
The intent was to map KRB5KRB_AP_ERR_BAD_INTEGRITY and HNTLM_ERR_AUTH to KRB5KRB_AP_ERR_BAD_INTEGRITY, but this code was never reached.
This commit is contained in:
@@ -64,12 +64,6 @@ _krb5_gss_map_error(OM_uint32 major, OM_uint32 minor)
|
||||
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY;
|
||||
break;
|
||||
case GSS_S_FAILURE:
|
||||
if (minor == (OM_uint32)KRB5KRB_AP_ERR_BAD_INTEGRITY ||
|
||||
minor == (OM_uint32)HNTLM_ERR_AUTH)
|
||||
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY;
|
||||
else
|
||||
ret = KRB5KDC_ERR_PREAUTH_FAILED;
|
||||
break;
|
||||
default:
|
||||
ret = KRB5KDC_ERR_PREAUTH_FAILED;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user