Initialize GCrypt on libsignal setup

This commit is contained in:
Marvin W 2020-01-15 19:04:47 +01:00
parent 60d735fc7d
commit 3cfe0d60f6
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -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,