From ae4afd61a5046ab63c8a528f4b4c03cf0f410bbd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 18 Feb 2010 10:45:01 +0000 Subject: Fixed backport of libassuan-2 changes. --- agent/protect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent/protect.c') 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; -- cgit v1.2.3