diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-08 13:03:01 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-08 13:03:01 +0000 |
commit | aa861ad1fff670f623fffda62e0aa0d2bc02246d (patch) | |
tree | 7059c4c5f8ff4fecf4f980fc1d5e9777b23ad5fc | |
parent | 7385a01b46cadc58a25a721830c7e1441d141970 (diff) |
init pointers with NULL, thanks to danimal@danimal.org
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 6 |
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); |