kdc: fix _kdc_set_e_text argument in previous commit

"r" is the realm, not the TGS request; that is priv
This commit is contained in:
Luke Howard
2021-08-27 15:11:54 +10:00
parent 892a1ffcaa
commit 773802aecf

View File

@@ -1701,7 +1701,7 @@ tgs_build_reply(astgs_request_t priv,
r = adtkt.crealm;
} else if (s == NULL) {
ret = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;
_kdc_set_e_text(r, "No server in request");
_kdc_set_e_text(priv, "No server in request");
goto out;
}