summaryrefslogtreecommitdiff
path: root/libexec/telnetd/sys_term.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-01 08:28:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-01 08:28:20 +0000
commitf417f826d3e50fdaa56307769aedcb0bbf7d41f9 (patch)
tree79849d02aab6b78345ce3892b0b4d847b07118f2 /libexec/telnetd/sys_term.c
parentd5c75d821a63835329f87b0ba1b1bec30c7aa154 (diff)
remove eavesdropping warning. Sorry, this is a no-way
Diffstat (limited to 'libexec/telnetd/sys_term.c')
-rw-r--r--libexec/telnetd/sys_term.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c
index 35ba6a1f1ed..e8c764121cd 100644
--- a/libexec/telnetd/sys_term.c
+++ b/libexec/telnetd/sys_term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_term.c,v 1.10 1998/03/25 18:43:48 art Exp $ */
+/* $OpenBSD: sys_term.c,v 1.11 1998/04/01 08:28:19 deraadt Exp $ */
/* $NetBSD: sys_term.c,v 1.9 1996/03/20 04:25:53 tls Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: sys_term.c,v 1.8 1996/02/28 20:38:21 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: sys_term.c,v 1.10 1998/03/25 18:43:48 art Exp $";
+static char rcsid[] = "$OpenBSD: sys_term.c,v 1.11 1998/04/01 08:28:19 deraadt Exp $";
#endif
#endif /* not lint */
@@ -1415,15 +1415,6 @@ startslave(host, autologin, autoname)
#endif
#ifndef NEWINIT
- {
- char *tbuf =
- "\r\n*** Connection not encrypted! "
- "Communication may be eavesdropped. ***\r\n";
-#ifdef ENCRYPTION
- if (encrypt_output == 0 || decrypt_input == 0)
-#endif
- writenet((unsigned char*)tbuf, strlen(tbuf));
- }
# ifdef PARENT_DOES_UTMP
utmp_sig_init();