aboutsummaryrefslogtreecommitdiff
path: root/lib/libtelnet/misc.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-08-20 12:04:53 +0000
committerMark Murray <markm@FreeBSD.org>2001-08-20 12:04:53 +0000
commit5adb5c82e3250f87ca56994c837460250b05aff0 (patch)
tree122fb8c599a7c1722fcbffd583c96fc5ac5dee5c /lib/libtelnet/misc.c
parent2aad70eb9ecbd01c3137d1e7d2a879baa38889bb (diff)
downloadsrc-5adb5c82e3250f87ca56994c837460250b05aff0.tar.gz
src-5adb5c82e3250f87ca56994c837460250b05aff0.zip
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.
Notes
Notes: svn path=/head/; revision=81961
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 d4242b689be6..8e7c7dd018f5 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;