gss: Fix build for GSS preauth helpers

This commit is contained in:
Nicolas Williams
2021-08-25 15:41:35 -05:00
parent 76624dd4eb
commit 75449e1071

View File

@@ -65,8 +65,8 @@ _krb5_gss_map_error(OM_uint32 major, OM_uint32 minor)
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY;
break;
case GSS_S_FAILURE:
if (minor == KRB5KRB_AP_ERR_BAD_INTEGRITY ||
minor == HNTLM_ERR_AUTH) {
if (minor == (OM_uint32)KRB5KRB_AP_ERR_BAD_INTEGRITY ||
minor == (OM_uint32)HNTLM_ERR_AUTH) {
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY;
break;
}