diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-29 05:51:52 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-06-29 05:51:52 +0000 |
commit | f07dfdfbf3999e600e2efc3a55b3680f98ad361c (patch) | |
tree | 07cd049d17c660d906deab9ad0665c66711b8e98 /libexec/telnetd/authenc.c | |
parent | e9c9d36e70adec3a17be27a98f00b704fda63332 (diff) |
We need telnet_net_write() even when AUTHENTICATION is not defined.
Diffstat (limited to 'libexec/telnetd/authenc.c')
-rw-r--r-- | libexec/telnetd/authenc.c | 3 |
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) { |