summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 19:39:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 19:39:57 +0300
commitd01ef0db6be8b7cb45eef8f41d69fd4e567cb7cf (patch)
tree6c33c392793e11f06024ae55c7f658a3cae7d0b3 /src/core
parentf56d89298e23be23b16efd33fc375eb4a9971c12 (diff)
m_crypto.h => CMPlugin
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdcrypt/src/encrypt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/stdcrypt/src/encrypt.cpp b/src/core/stdcrypt/src/encrypt.cpp
index 6721f733a2..1fe6cd083b 100644
--- a/src/core/stdcrypt/src/encrypt.cpp
+++ b/src/core/stdcrypt/src/encrypt.cpp
@@ -209,8 +209,9 @@ int LoadEncryptionModule(void)
{
CRYPTO_PROVIDER cp = { sizeof(cp) };
cp.pszName = "AES (Rjindale)";
- cp.pszDescr = LPGEN("Standard crypto provider");
+ cp.szDescr.a = LPGEN("Standard crypto provider");
cp.pFactory = builder;
- Crypto_RegisterEngine(&cp);
+ cp.iLangId = g_plugin.m_hLang;
+ CallService(MS_CRYPTO_REGISTER_ENGINE, 0, LPARAM(&cp));
return 0;
}