summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/rshd/rshd.c10
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;