diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index e88aa2eb409a..6ecbcc04f637 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -689,7 +689,7 @@ do_krb_login(dest) ticket, "rcmd", instance, dest, &faddr, kdata, "", schedule, version); - des_set_key(&kdata->session, schedule); + des_set_key_krb(&kdata->session, schedule); } else #endif diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index e9e6d83b2ebc..cccec79e09f0 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -391,7 +391,7 @@ doit(fromp) "rcmd", instance, &fromaddr, &local_addr, kdata, "", schedule, version); - des_set_key(&kdata->session, schedule); + des_set_key_krb(&kdata->session, schedule); } else #endif rc = krb_recvauth(authopts, 0, ticket, "rcmd", diff --git a/usr.bin/rlogin/rlogin.c b/usr.bin/rlogin/rlogin.c index 320844f650d5..458e8562c18f 100644 --- a/usr.bin/rlogin/rlogin.c +++ b/usr.bin/rlogin/rlogin.c @@ -301,7 +301,7 @@ try_connect: if (doencrypt) { rem = krcmd_mutual(&host, sp->s_port, user, term, 0, dest_realm, &cred, schedule); - des_set_key(&cred.session, schedule); + des_set_key_krb(&cred.session, schedule); } else #endif /* CRYPT */ rem = krcmd(&host, sp->s_port, user, term, 0,