summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2000-02-25 22:09:15 +0000
committerHans Insulander <hin@cvs.openbsd.org>2000-02-25 22:09:15 +0000
commit3aece464217bf99e324f6e08e0755b193eb4a274 (patch)
tree401ac14be14c79598bf7c083a7dda944e4d0b67a /usr.bin
parent7700d5a54381b9aec5ce52f4ef75a9ceee17be83 (diff)
TKT_ROOT has changed from a string to a function in newer KerberosIV
versions. (Ok deraadt@)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/passwd/krb_passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/passwd/krb_passwd.c b/usr.bin/passwd/krb_passwd.c
index 6e50263dbbb..2b78a9ecc68 100644
--- a/usr.bin/passwd/krb_passwd.c
+++ b/usr.bin/passwd/krb_passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: krb_passwd.c,v 1.12 1999/08/16 19:51:26 art Exp $ */
+/* $OpenBSD: krb_passwd.c,v 1.13 2000/02/25 22:09:14 hin Exp $ */
/* $KTH: kpasswd.c,v 1.25 1997/05/02 14:28:51 assar Exp $ */
/*
@@ -158,7 +158,7 @@ krb_passwd(int argc, char **argv)
}
snprintf(tktstring, sizeof(tktstring),
- TKT_ROOT "_cpw_%u", (unsigned)getpid());
+ "%s_cpw_%u", TKT_ROOT, (unsigned)getpid());
krb_set_tkt_string(tktstring);
if (get_pw_new_pwd(pword, sizeof(pword), &principal,