diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-08 18:04:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-08 18:04:36 +0000 |
commit | d5730a8b858bdab06f3162ab89c001e63c2b954d (patch) | |
tree | 044b552b22dadd8b3a5d26de1b94609666601a35 /ssh-add.c | |
parent | 49e57a871abf4304b96bdd4abc5f5872cdd913ea (diff) |
- markus@cvs.openbsd.org 2001/04/08 13:03:00
[ssh-add.c]
init pointers with NULL, thanks to danimal@danimal.org
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: ssh-add.c,v 1.31 2001/03/26 08:07:08 markus Exp $"); | 38 | RCSID("$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 | |||
59 | delete_file(AuthenticationConnection *ac, const char *filename) | 59 | delete_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 | ||