aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-15 19:04:47 +0100
committerMarvin W <git@larma.de>2020-01-15 19:31:47 +0100
commit3cfe0d60f679aec81343f12bb846e7805ecad2f2 (patch)
tree01beb41b8d310c463940a88735995740a2eccf61
parent60d735fc7d9884f25f95359717af03b27903146c (diff)
downloaddino-3cfe0d60f679aec81343f12bb846e7805ecad2f2.tar.gz
dino-3cfe0d60f679aec81343f12bb846e7805ecad2f2.zip
Initialize GCrypt on libsignal setup
-rw-r--r--plugins/signal-protocol/src/signal_helper.c2
1 files changed, 2 insertions, 0 deletions
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,