From a6a0505831e4d3f91698ad995cd2ead8b47a2f2c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Oct 2022 22:28:22 +0300 Subject: WhatsApp untied from libsodium --- utils/mir_signal.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'utils') diff --git a/utils/mir_signal.h b/utils/mir_signal.h index 95281e745c..6395cc5282 100644 --- a/utils/mir_signal.h +++ b/utils/mir_signal.h @@ -4,14 +4,18 @@ #include #include -#include "../libs/libsignal/src/curve.h" -#include "../libs/libsignal/src/hkdf.h" -#include "../libs/libsignal/src/key_helper.h" -#include "../libs/libsignal/src/protocol.h" -#include "../libs/libsignal/src/session_builder.h" -#include "../libs/libsignal/src/session_cipher.h" -#include "../libs/libsignal/src/signal_protocol.h" -#include "../libs/libsignal/src/signal_protocol_types.h" +extern "C" +{ + #include "../libs/libsignal/src/curve.h" + #include "../libs/libsignal/src/hkdf.h" + #include "../libs/libsignal/src/key_helper.h" + #include "../libs/libsignal/src/protocol.h" + #include "../libs/libsignal/src/session_builder.h" + #include "../libs/libsignal/src/session_cipher.h" + #include "../libs/libsignal/src/signal_protocol.h" + #include "../libs/libsignal/src/signal_protocol_types.h" + #include "../libs/libsignal/src/curve25519/curve25519-donna.h" +} struct signal_buffer { -- cgit v1.2.3