From a8dad2e0664da2e0e95eedb8d83462e2bd52cc7e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 14 Feb 2017 23:17:13 +0300 Subject: protocols: jabber: omemo: added hmac_sha256 callbacks to libsignal-c initialization --- protocols/JabberG/src/jabber.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber.cpp') 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; } -- cgit v1.2.3