diff options
author | Werner Koch <[email protected]> | 2010-02-18 10:45:01 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-02-18 10:45:01 +0000 |
commit | ae4afd61a5046ab63c8a528f4b4c03cf0f410bbd (patch) | |
tree | 85bb61bf912e5279e3dd254216cfa76e4214bce9 /agent/protect.c | |
parent | preparing a release candidate (diff) | |
download | gnupg-2.0.15rc1.tar.gz gnupg-2.0.15rc1.zip |
Fixed backport of libassuan-2 changes.gnupg-2.0.15rc1
Diffstat (limited to 'agent/protect.c')
-rw-r--r-- | agent/protect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/protect.c b/agent/protect.c index 097a1b36b..d6c964121 100644 --- a/agent/protect.c +++ b/agent/protect.c @@ -778,7 +778,7 @@ agent_unprotect (const unsigned char *protectedkey, const char *passphrase, unsigned long s2kcount; const unsigned char *iv; const unsigned char *prot_begin; - unsigned char *cleartext; + unsigned char *cleartext = NULL; /* Just to avoid gcc warning. */ unsigned char *final; size_t finallen; size_t cutoff, cutlen; |