summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-02-14 23:17:13 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-02-14 23:18:16 +0300
commita8dad2e0664da2e0e95eedb8d83462e2bd52cc7e (patch)
tree06308ac93c963b846083deca9f364d194d136763 /protocols/JabberG/src/jabber.cpp
parent5bb58bd24e6be45c6812713795d2e58e5ac18989 (diff)
protocols:
jabber: omemo: added hmac_sha256 callbacks to libsignal-c initialization
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index 469e89c4cd..184a5651d6 100755
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -179,7 +179,9 @@ static int jabberProtoUninit(CJabberProto *ppro)
return 0;
}
-int init_omemo();
+namespace omemo {
+ int init_omemo();
+};
extern "C" int __declspec(dllexport) Load()
{
@@ -223,7 +225,7 @@ extern "C" int __declspec(dllexport) Load()
g_MenuInit();
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
JabberUserInfoInit();
- init_omemo();
+ omemo::init_omemo();
return 0;
}