X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fpasswd-kerberos.c;h=bb8d99265eb6379debf527f852cd73ba4067eb10;hp=398fc3c29e5112d7fa35cc467f19f395cdf6b39d;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hpb=447db08c956099b3b183886729108bf5b364c4b8 diff --git a/driver/passwd-kerberos.c b/driver/passwd-kerberos.c index 398fc3c2..bb8d9926 100644 --- a/driver/passwd-kerberos.c +++ b/driver/passwd-kerberos.c @@ -75,7 +75,7 @@ static char realm[REALM_SZ]; static char name[ANAME_SZ]; static char inst[INST_SZ]; - static char *tk_file; + static const char *tk_file; #endif /* !HAVE_DARWIN */ @@ -222,7 +222,7 @@ kerberos_passwd_valid_p (const char *typed_passwd, Bool verbose_p) des_string_to_key(typed_passwd, mitkey); if (krb_get_in_tkt(name, inst, realm, "krbtgt", realm, DEFAULT_TKT_LIFE, - key_to_key, NULL, mitkey) != 0) { + key_to_key, NULL, (char *) mitkey) != 0) { success = False; } else { success = True;