diff options
author | 2001-06-29 05:51:51 +0000 | |
---|---|---|
committer | 2001-06-29 05:51:51 +0000 | |
commit | 01475ed5fc9e3464571dd7f4d16826e040d2f250 (patch) | |
tree | fc2db1730087986788cfb90eff5190bebf5cc596 | |
parent | o We have uname(2) (diff) | |
download | wireguard-openbsd-01475ed5fc9e3464571dd7f4d16826e040d2f250.tar.xz wireguard-openbsd-01475ed5fc9e3464571dd7f4d16826e040d2f250.zip |
We need telnet_net_write() even when AUTHENTICATION is not defined.
-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) { |