summaryrefslogtreecommitdiff
path: root/usr.bin/passwd/krb_passwd.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-04-17 07:17:31 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-04-17 07:17:31 +0000
commitde5a070af0e910bac03e3b4fde31f11c92a98ca5 (patch)
tree95d9e13dcf925ea62f412e9e0da157637b5a6884 /usr.bin/passwd/krb_passwd.c
parent5aff9a017777d287ebc79593230480db84780bec (diff)
Make setting of Kerberos password work properly
Diffstat (limited to 'usr.bin/passwd/krb_passwd.c')
-rw-r--r--usr.bin/passwd/krb_passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/krb_passwd.c b/usr.bin/passwd/krb_passwd.c
index 57ee41e90d3..84d2403e9b6 100644
--- a/usr.bin/passwd/krb_passwd.c
+++ b/usr.bin/passwd/krb_passwd.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)krb_passwd.c 5.4 (Berkeley) 3/1/91";*/
-static char rcsid[] = "$Id: krb_passwd.c,v 1.2 1995/12/16 22:20:29 tholo Exp $";
+static char rcsid[] = "$Id: krb_passwd.c,v 1.3 1996/04/17 07:17:30 tholo Exp $";
#endif /* not lint */
#ifdef KERBEROS
@@ -168,7 +168,7 @@ krb_passwd()
(void)des_string_to_key(pass, &okey);
(void)des_key_sched(&okey, osched);
- (void)des_set_key(&okey, osched);
+ (void)desrw_set_key(&okey, osched);
/* wait on the verification string */
@@ -212,7 +212,7 @@ krb_passwd()
}
(void)des_key_sched(&proto_data.random_key, random_schedule);
- (void)des_set_key(&proto_data.random_key, random_schedule);
+ (void)desrw_set_key(&proto_data.random_key, random_schedule);
(void)bzero(pass, sizeof(pass));
if (des_read_pw_string(pass,