summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 05ff4cab8..eaa773816 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: ssh-add.c,v 1.31 2001/03/26 08:07:08 markus Exp $"); 38RCSID("$OpenBSD: ssh-add.c,v 1.32 2001/04/08 13:03:00 markus Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41 41
@@ -59,7 +59,7 @@ void
59delete_file(AuthenticationConnection *ac, const char *filename) 59delete_file(AuthenticationConnection *ac, const char *filename)
60{ 60{
61 Key *public; 61 Key *public;
62 char *comment; 62 char *comment = NULL;
63 63
64 public = key_load_public(filename, &comment); 64 public = key_load_public(filename, &comment);
65 if (public == NULL) { 65 if (public == NULL) {
@@ -136,7 +136,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
136{ 136{
137 struct stat st; 137 struct stat st;
138 Key *private; 138 Key *private;
139 char *comment, *askpass = NULL, *pass; 139 char *comment = NULL, *askpass = NULL, *pass;
140 char buf[1024], msg[1024]; 140 char buf[1024], msg[1024];
141 int interactive = isatty(STDIN_FILENO); 141 int interactive = isatty(STDIN_FILENO);
142 142