diff options
-rw-r--r-- | usr.bin/ssh/log-server.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/ssh/log-server.c b/usr.bin/ssh/log-server.c index f19f288dabb..7f303b7c521 100644 --- a/usr.bin/ssh/log-server.c +++ b/usr.bin/ssh/log-server.c @@ -15,10 +15,9 @@ to the system log. */ #include "includes.h" -RCSID("$Id: log-server.c,v 1.4 1999/09/30 05:11:29 deraadt Exp $"); +RCSID("$Id: log-server.c,v 1.5 1999/10/17 20:39:11 dugsong Exp $"); #include <syslog.h> -#include <sys/syslog.h> #include "packet.h" #include "xmalloc.h" #include "ssh.h" diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 125a6027ca3..ecedd73e218 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity. */ #include "includes.h" -RCSID("$Id: ssh-add.c,v 1.5 1999/10/11 20:24:54 markus Exp $"); +RCSID("$Id: ssh-add.c,v 1.6 1999/10/17 20:39:11 dugsong Exp $"); #include "rsa.h" #include "ssh.h" @@ -100,9 +100,6 @@ add_file(const char *filename) first = 1; while (!load_private_key(filename, pass, key, &comment)) { - char buf[1024]; - FILE *f; - /* Free the old passphrase. */ memset(pass, 0, strlen(pass)); xfree(pass); diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 1d73724b9ed..0b68143dc47 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -18,7 +18,7 @@ agent connections. */ #include "includes.h" -RCSID("$Id: sshd.c,v 1.34 1999/10/16 23:11:29 markus Exp $"); +RCSID("$Id: sshd.c,v 1.35 1999/10/17 20:39:11 dugsong Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -35,8 +35,6 @@ RCSID("$Id: sshd.c,v 1.34 1999/10/16 23:11:29 markus Exp $"); #ifdef LIBWRAP #include <tcpd.h> #include <syslog.h> -#include <sys/syslog.h> -#include <sys/stat.h> int allow_severity = LOG_INFO; int deny_severity = LOG_WARNING; #endif /* LIBWRAP */ |