summaryrefslogtreecommitdiff
path: root/libexec/telnetd/state.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-03-25 18:43:51 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-03-25 18:43:51 +0000
commit430fe69f326680c683be8cc140b83f55afe620bf (patch)
treeb6ef20074174927a1821725c5103b700b7939400 /libexec/telnetd/state.c
parent26b9fc25ce79b1d3eb02beed981e952de77f3a55 (diff)
cleanup and please -Wall
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r--libexec/telnetd/state.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 8cea155050a..2ba68666121 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: state.c,v 1.6 1998/03/12 04:53:12 art Exp $ */
+/* $OpenBSD: state.c,v 1.7 1998/03/25 18:43:46 art Exp $ */
/* $NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: state.c,v 1.6 1998/03/12 04:53:12 art Exp $";
+static char rcsid[] = "$OpenBSD: state.c,v 1.7 1998/03/25 18:43:46 art Exp $";
#endif
#endif /* not lint */
@@ -47,6 +47,9 @@ static char rcsid[] = "$OpenBSD: state.c,v 1.6 1998/03/12 04:53:12 art Exp $";
#if defined(AUTHENTICATION)
#include <libtelnet/auth.h>
#endif
+#if defined(ENCRYPTION)
+#include <libtelnet/encrypt.h>
+#endif
unsigned char doopt[] = { IAC, DO, '%', 'c', 0 };
unsigned char dont[] = { IAC, DONT, '%', 'c', 0 };