diff options
Diffstat (limited to 'plugins/CryptoPP/src/main.cpp')
| -rw-r--r-- | plugins/CryptoPP/src/main.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp index e6dfac13f3..8cb9bfa2b9 100644 --- a/plugins/CryptoPP/src/main.cpp +++ b/plugins/CryptoPP/src/main.cpp @@ -53,7 +53,8 @@ extern "C" __declspec(dllexport) int Load()  	mir_getLP(&pluginInfoEx);
  	// register plugin module
 -	PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
 +	PROTOCOLDESCRIPTOR pd = { 0 };
 +	pd.cbSize = sizeof(pd);
  	pd.szName = (char*)szModuleName;
  	pd.type = PROTOTYPE_ENCRYPTION;
  	CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
  | 
