diff options
author | csgr <csgr@FreeBSD.org> | 1994-08-27 15:46:29 +0000 |
---|---|---|
committer | csgr <csgr@FreeBSD.org> | 1994-08-27 15:46:29 +0000 |
commit | c009f27dba57cd220ee4854c6efa4665c8d1beb4 (patch) | |
tree | d0be3cc4edbbabd31fd9689f7c056927151c1426 /usr.bin/telnet/terminal.c | |
parent | 109e9ae764615304685c48a081c80390ed957586 (diff) | |
download | FreeBSD-src-c009f27dba57cd220ee4854c6efa4665c8d1beb4.zip FreeBSD-src-c009f27dba57cd220ee4854c6efa4665c8d1beb4.tar.gz |
Fix big f*ckup by doing "make nocrypt"
(Don't think I don't realize what a big f*ckup this was.)
Submitted by: geoff.
Diffstat (limited to 'usr.bin/telnet/terminal.c')
-rw-r--r-- | usr.bin/telnet/terminal.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/usr.bin/telnet/terminal.c b/usr.bin/telnet/terminal.c index b6d3b86..6e3cf69 100644 --- a/usr.bin/telnet/terminal.c +++ b/usr.bin/telnet/terminal.c @@ -205,29 +205,12 @@ getconnmode() setconnmode(force) int force; { -#ifdef ENCRYPTION - static int enc_passwd = 0; -#endif /* ENCRYPTION */ register int newmode; newmode = getconnmode()|(force?MODE_FORCE:0); TerminalNewMode(newmode); -#ifdef ENCRYPTION - if ((newmode & (MODE_ECHO|MODE_EDIT)) == MODE_EDIT) { - if (my_want_state_is_will(TELOPT_ENCRYPT) - && (enc_passwd == 0) && !encrypt_output) { - encrypt_request_start(0, 0); - enc_passwd = 1; - } - } else { - if (enc_passwd) { - encrypt_request_end(); - enc_passwd = 0; - } - } -#endif /* ENCRYPTION */ } |