diff options
Diffstat (limited to 'usr.bin/telnet/authenc.c')
-rw-r--r-- | usr.bin/telnet/authenc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/telnet/authenc.c b/usr.bin/telnet/authenc.c index 545df78..941a202 100644 --- a/usr.bin/telnet/authenc.c +++ b/usr.bin/telnet/authenc.c @@ -35,7 +35,7 @@ static char sccsid[] = "@(#)authenc.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ -#if defined(AUTHENTICATION) || defined(ENCRYPTION) +#if defined(AUTHENTICATION) #include <sys/types.h> #include <arpa/telnet.h> #include <libtelnet/encrypt.h> @@ -64,12 +64,6 @@ net_write(str, len) void net_encrypt() { -#ifdef ENCRYPTION - if (encrypt_output) - ring_encrypt(&netoring, encrypt_output); - else - ring_clearto(&netoring); -#endif /* ENCRYPTION */ } int @@ -108,4 +102,4 @@ telnet_gets(prompt, result, length, echo) TerminalNewMode(om); return(res); } -#endif /* defined(AUTHENTICATION) || defined(ENCRYPTION) */ +#endif /* defined(AUTHENTICATION) */ |