summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/keys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/keys.cpp')
-rw-r--r--plugins/CryptoPP/src/GPGw/keys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/GPGw/keys.cpp b/plugins/CryptoPP/src/GPGw/keys.cpp
index 19606d446a..74674bedd3 100644
--- a/plugins/CryptoPP/src/GPGw/keys.cpp
+++ b/plugins/CryptoPP/src/GPGw/keys.cpp
@@ -24,7 +24,7 @@ void updateKeyUserIDs(const int atype)
releaseKeyUserIDs(atype);
initKeyUserIDs(atype);
- ZeroMemory(buffer, sizeof(buffer));
+ memset(buffer, 0, sizeof(buffer));
if(atype==publickeyuserid) gpgresult=gpgListPublicKeys(buffer);
else gpgresult=gpgListSecretKeys(buffer);