summaryrefslogtreecommitdiff
path: root/libexec/telnetd/authenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd/authenc.c')
-rw-r--r--libexec/telnetd/authenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libexec/telnetd/authenc.c b/libexec/telnetd/authenc.c
index 9968f4195c2..45eb90acc8a 100644
--- a/libexec/telnetd/authenc.c
+++ b/libexec/telnetd/authenc.c
@@ -35,8 +35,6 @@
/* RCSID("$KTH: authenc.c,v 1.10 2000/11/15 23:20:43 assar Exp $"); */
-#ifdef AUTHENTICATION
-
int
telnet_net_write(unsigned char *str, int len)
{
@@ -48,6 +46,7 @@ telnet_net_write(unsigned char *str, int len)
return(0);
}
+#ifdef AUTHENTICATION
void
net_encrypt(void)
{