summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r--usr.bin/ssh/ssh-add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c
index 8951c883edb..4831bf6991f 100644
--- a/usr.bin/ssh/ssh-add.c
+++ b/usr.bin/ssh/ssh-add.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.31 2001/03/26 08:07:08 markus Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.32 2001/04/08 13:03:00 markus Exp $");
#include <openssl/evp.h>
@@ -53,7 +53,7 @@ void
delete_file(AuthenticationConnection *ac, const char *filename)
{
Key *public;
- char *comment;
+ char *comment = NULL;
public = key_load_public(filename, &comment);
if (public == NULL) {
@@ -130,7 +130,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
{
struct stat st;
Key *private;
- char *comment, *askpass = NULL, *pass;
+ char *comment = NULL, *askpass = NULL, *pass;
char buf[1024], msg[1024];
int interactive = isatty(STDIN_FILENO);