summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authordugsong <dugsong@openbsd.org>1999-10-17 20:39:11 +0000
committerdugsong <dugsong@openbsd.org>1999-10-17 20:39:11 +0000
commit36374de2d9dba6cba924962783838efc924f0d62 (patch)
tree8c267f50e5d9a897ab2b46fe0315f615370c436c /usr.bin/ssh/ssh-add.c
parentRemove some redundant .Pp. (diff)
downloadwireguard-openbsd-36374de2d9dba6cba924962783838efc924f0d62.tar.xz
wireguard-openbsd-36374de2d9dba6cba924962783838efc924f0d62.zip
-Wall, get rid of unused headers/vars
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r--usr.bin/ssh/ssh-add.c5
1 files changed, 1 insertions, 4 deletions
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);