2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

Correct number of args to krb5_principal_get_realm() and fix an unclosed

comment that hid the bug.
This commit is contained in:
Todd C. Miller 2003-04-02 18:57:34 +00:00
parent ce070cdc6f
commit 58887b76b0

View File

@ -266,8 +266,8 @@ verify_krb_v5_tgt(sudo_context, ccache, auth_name)
return(-1);
}
/* Extract the name directly.
strlcpy(phost, krb5_principal_get_realm(sudo_context, princ, 1),
/* Extract the name directly. */
strlcpy(phost, krb5_principal_get_realm(sudo_context, princ),
sizeof(phost));
/*