aboutsummaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/findkey.c')
-rw-r--r--agent/findkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index eb2b7a17a..a5f022574 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -118,7 +118,7 @@ agent_write_private_key (const unsigned char *grip,
gpg_error_t err;
char *fname = NULL;
char *tmpfname = NULL;
- estream_t fp;
+ estream_t fp = NULL;
int newkey;
nvc_t pk = NULL;
gcry_sexp_t key = NULL;