1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed backport of libassuan-2 changes.

This commit is contained in:
Werner Koch 2010-02-18 10:45:01 +00:00
parent cb6506e9ac
commit ae4afd61a5
4 changed files with 10 additions and 6 deletions

View file

@ -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;