summaryrefslogtreecommitdiffstats
path: root/lib/libtelnet/misc.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-20 12:04:53 +0000
committermarkm <markm@FreeBSD.org>2001-08-20 12:04:53 +0000
commit98d3c6bc197eb678ca324345c95491f2226219c2 (patch)
tree122fb8c599a7c1722fcbffd583c96fc5ac5dee5c /lib/libtelnet/misc.c
parente5aeafb88ac1c0cc0a8ad38e45fc3ba78dd10c08 (diff)
downloadFreeBSD-src-98d3c6bc197eb678ca324345c95491f2226219c2.zip
FreeBSD-src-98d3c6bc197eb678ca324345c95491f2226219c2.tar.gz
No functional changes, but:
o unifdef AUTHENTICATE. We have never compiled this code, and its doubtful it will even work in this case. o Style changes (some ansification, some comment updating) o Diff reduction and code style merging with crypto telnet.
Diffstat (limited to 'lib/libtelnet/misc.c')
-rw-r--r--lib/libtelnet/misc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtelnet/misc.c b/lib/libtelnet/misc.c
index d4242b6..8e7c7dd 100644
--- a/lib/libtelnet/misc.c
+++ b/lib/libtelnet/misc.c
@@ -32,7 +32,12 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93";
+#if 0
+static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93";
+#else
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
#endif /* not lint */
#include <stdio.h>
@@ -53,9 +58,6 @@ auth_encrypt_init(local, remote, name, server)
{
RemoteHostName = remote;
LocalHostName = local;
-#if defined(AUTHENTICATION)
- auth_init(name, server);
-#endif
if (UserNameRequested) {
free(UserNameRequested);
UserNameRequested = 0;
OpenPOWER on IntegriCloud