summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/passdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/passdialog.cpp')
-rw-r--r--plugins/CryptoPP/src/GPGw/passdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/GPGw/passdialog.cpp b/plugins/CryptoPP/src/GPGw/passdialog.cpp
index 8dfde8e09b..08ca1678a4 100644
--- a/plugins/CryptoPP/src/GPGw/passdialog.cpp
+++ b/plugins/CryptoPP/src/GPGw/passdialog.cpp
@@ -14,7 +14,7 @@ INT_PTR CALLBACK PassphraseDialogProcedure(HWND hdlg, UINT msg, WPARAM wparam, L
switch(LOWORD(wparam))
{
case IDOK:
- ZeroMemory(dlgpassphrase, sizeof(dlgpassphrase));
+ memset(dlgpassphrase, 0, sizeof(dlgpassphrase));
GetDlgItemText(hdlg, IDC_PASSPHRASE, dlgpassphrase, SIZEOF(dlgpassphrase));
case IDCANCEL:
EndDialog(hdlg, wparam);