summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/passphrases.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/passphrases.cpp')
-rw-r--r--plugins/CryptoPP/src/GPGw/passphrases.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/GPGw/passphrases.cpp b/plugins/CryptoPP/src/GPGw/passphrases.cpp
index 847472f5ac..6a88358370 100644
--- a/plugins/CryptoPP/src/GPGw/passphrases.cpp
+++ b/plugins/CryptoPP/src/GPGw/passphrases.cpp
@@ -18,7 +18,7 @@ void releasePassphrases(void)
int i;
for(i=0; i<passphrasecount; i++)
- ZeroMemory(passphrases[i].passphrase, sizeof(passphrases[i].passphrase));
+ memset(passphrases[i].passphrase, 0, sizeof(passphrases[i].passphrase));
free(passphrases);
}