diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-06-22 19:44:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-06-22 19:44:47 +0000 |
commit | ece9925e9e0e498080a15f1a1ce505e2b0f6bc7e (patch) | |
tree | 35d8588d3e31fd3f3c223124c9fe3b0a86c7adeb /libexec | |
parent | 335af5105f01f8a9910725240839286be3ee5f03 (diff) |
The x option is not used if CRYPT is turned off.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rshd/rshd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index ce0ba72c7f9..ecf2a36a177 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /* from: static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94"; */ -static char *rcsid = "$Id: rshd.c,v 1.23 1998/06/03 02:35:20 angelos Exp $"; +static char *rcsid = "$Id: rshd.c,v 1.24 1998/06/22 19:44:46 art Exp $"; #endif /* not lint */ /* @@ -90,7 +90,13 @@ void usage __P((void)); #include <kerberosIV/krb.h> #define VERSION_SIZE 9 #define SECURE_MESSAGE "This rsh session is using DES encryption for all transmissions.\r\n" -#define OPTIONS "alnkvxL" + +#ifdef CRYPT +#define OPTIONS "alnkvxL" +#else +#define OPTIONS "alnkvL" +#endif + char authbuf[sizeof(AUTH_DAT)]; char tickbuf[sizeof(KTEXT_ST)]; int doencrypt, use_kerberos, vacuous; |