From 3cfe0d60f679aec81343f12bb846e7805ecad2f2 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Wed, 15 Jan 2020 19:04:47 +0100 Subject: Initialize GCrypt on libsignal setup --- plugins/signal-protocol/src/signal_helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/signal-protocol') diff --git a/plugins/signal-protocol/src/signal_helper.c b/plugins/signal-protocol/src/signal_helper.c index 41b11fd7..a9a96a76 100644 --- a/plugins/signal-protocol/src/signal_helper.c +++ b/plugins/signal-protocol/src/signal_helper.c @@ -357,6 +357,8 @@ no_error: void setup_signal_vala_crypto_provider(signal_context *context) { + gcry_check_version(NULL); + signal_crypto_provider provider = { .random_func = signal_vala_random_generator, .hmac_sha256_init_func = signal_vala_hmac_sha256_init, -- cgit v1.2.3-70-g09d2