From 3283671a145aa1dec5d79df0870252831ebf6d69 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 20 Jul 2014 03:00:31 +0000 Subject: [PATCH] remove a variable called wantencryption. hahahahahahahahahha. OK, I'm done. --- usr.bin/telnet/externs.h | 3 +-- usr.bin/telnet/telnet.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.bin/telnet/externs.h b/usr.bin/telnet/externs.h index 13ef32685eb..097d757078e 100644 --- a/usr.bin/telnet/externs.h +++ b/usr.bin/telnet/externs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: externs.h,v 1.18 2014/07/19 23:50:38 guenther Exp $ */ +/* $OpenBSD: externs.h,v 1.19 2014/07/20 03:00:31 deraadt Exp $ */ /* $KTH: externs.h,v 1.16 1997/11/29 02:28:35 joda Exp $ */ /* @@ -49,7 +49,6 @@ extern int localchars, /* we recognize interrupt/quit */ donelclchars, /* the user has set "localchars" */ showoptions, - wantencryption, /* User has requested encryption */ net, /* Network file descriptor */ tin, /* Terminal input file descriptor */ tout, /* Terminal output file descriptor */ diff --git a/usr.bin/telnet/telnet.c b/usr.bin/telnet/telnet.c index 3b242c9d47b..a4d765db027 100644 --- a/usr.bin/telnet/telnet.c +++ b/usr.bin/telnet/telnet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: telnet.c,v 1.21 2014/07/19 23:50:38 guenther Exp $ */ +/* $OpenBSD: telnet.c,v 1.22 2014/07/20 03:00:31 deraadt Exp $ */ /* $NetBSD: telnet.c,v 1.7 1996/02/28 21:04:15 thorpej Exp $ */ /* @@ -66,7 +66,6 @@ int netdata, /* Print out network data flow */ crlf, /* Should '\r' be mapped to (or )? */ telnetport, - wantencryption = 0, SYNCHing, /* we are in TELNET SYNCH mode */ flushout, /* flush output */ autoflush = 0, /* flush output when interrupting? */ -- 2.20.1