diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 4469d4acf7e0..e9e6d83b2ebc 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(&kdata->session, schedule); } else #endif rc = krb_recvauth(authopts, 0, ticket, "rcmd",