diff options
-rw-r--r-- | libexec/rlogind/rlogind.c | 2 | ||||
-rw-r--r-- | libexec/rshd/rshd.c | 2 | ||||
-rw-r--r-- | usr.bin/rlogin/rlogin.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index e88aa2e..6ecbcc0 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 e9e6d83..cccec79 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 320844f..458e856 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, |