mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
verify_krb_v5_tgt: auth name must be const to match struct sudo_auth.
This commit is contained in:
parent
9ef52151ef
commit
747114f331
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#ifndef HAVE_KRB5_VERIFY_USER
|
#ifndef HAVE_KRB5_VERIFY_USER
|
||||||
static int verify_krb_v5_tgt(const struct sudoers_context *, krb5_context,
|
static int verify_krb_v5_tgt(const struct sudoers_context *, krb5_context,
|
||||||
krb5_creds *, char *);
|
krb5_creds *, const char *);
|
||||||
#endif
|
#endif
|
||||||
static struct _sudo_krb5_data {
|
static struct _sudo_krb5_data {
|
||||||
krb5_context sudo_context;
|
krb5_context sudo_context;
|
||||||
@ -308,7 +308,7 @@ sudo_krb5_cleanup(const struct sudoers_context *ctx, struct passwd *pw,
|
|||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
verify_krb_v5_tgt(const struct sudoers_context *ctx, krb5_context sudo_context,
|
verify_krb_v5_tgt(const struct sudoers_context *ctx, krb5_context sudo_context,
|
||||||
krb5_creds *cred, char *auth_name)
|
krb5_creds *cred, const char *auth_name)
|
||||||
{
|
{
|
||||||
krb5_error_code error;
|
krb5_error_code error;
|
||||||
krb5_principal server;
|
krb5_principal server;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user