make sure we propagate an error code in case of wrong number of ms-san

Patch from Matthieu Hautreux
This commit is contained in:
Love Hornquist Astrand
2013-02-10 19:07:44 -08:00
parent 58ff480763
commit c7cd31ef9d

View File

@@ -1654,6 +1654,7 @@ match_ms_upn_san(krb5_context context,
if (list.len != 1) {
kdc_log(context, config, 0,
"More then one PK-INIT MS UPN SAN");
ret = KRB5_KDC_ERR_CLIENT_NAME_MISMATCH;
goto out;
}