aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-12-08 16:30:33 +0000
committerWerner Koch <[email protected]>2009-12-08 16:30:33 +0000
commit9a96043be4bed4e18320918e042b1601c9d93e95 (patch)
tree0066f7268d25aa95d59cf5fbb7570e487b809c52 /agent/protect.c
parentSupport CERT records via ADNS (diff)
downloadgnupg-9a96043be4bed4e18320918e042b1601c9d93e95.tar.gz
gnupg-9a96043be4bed4e18320918e042b1601c9d93e95.zip
Unification of the search descriptor usage.
Diffstat (limited to '')
-rw-r--r--agent/protect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/protect.c b/agent/protect.c
index d6457ad2a..54f6bd38a 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -775,6 +775,7 @@ agent_unprotect (const unsigned char *protectedkey, const char *passphrase,
if (!n)
return gpg_error (GPG_ERR_INV_SEXP);
+ cleartext = NULL; /* Avoid cc warning. */
rc = do_decryption (s, n,
passphrase, s2ksalt, s2kcount,
iv, 16,