summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-22 17:38:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-22 17:38:10 +0300
commit265b6179424fcf1a493c2683175781dad1aaa84f (patch)
tree6d995a5feac22e29f362aaacb7a19e7f438c9308 /protocols/WhatsAppWeb/src
parentfacec0fbfb54f51cb1b1fbb22c9d52c206ae6639 (diff)
project file fix
Diffstat (limited to 'protocols/WhatsAppWeb/src')
-rw-r--r--protocols/WhatsAppWeb/src/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/WhatsAppWeb/src/main.cpp b/protocols/WhatsAppWeb/src/main.cpp
index 91c44d4b18..852e55b3af 100644
--- a/protocols/WhatsAppWeb/src/main.cpp
+++ b/protocols/WhatsAppWeb/src/main.cpp
@@ -30,6 +30,15 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC
/////////////////////////////////////////////////////////////////////////////////////////
+CMPlugin::CMPlugin() :
+ ACCPROTOPLUGIN<WhatsAppProto>(MODULENAME, pluginInfo)
+{
+ SetUniqueId(DBKEY_ID);
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Load
+
static int hmac_sha256_init(void **hmac_context, const uint8_t *key, size_t key_len, void *)
{
HMAC_CTX *ctx = HMAC_CTX_new();
@@ -65,15 +74,6 @@ static int random_func(uint8_t *pData, size_t size, void *)
return 0;
}
-CMPlugin::CMPlugin() :
- ACCPROTOPLUGIN<WhatsAppProto>(MODULENAME, pluginInfo)
-{
- SetUniqueId(DBKEY_ID);
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// Load
-
int CMPlugin::Load()
{
// InitIcons();