Initialize GCrypt on libsignal setup
This commit is contained in:
parent
60d735fc7d
commit
3cfe0d60f6
|
@ -357,6 +357,8 @@ no_error:
|
||||||
|
|
||||||
void setup_signal_vala_crypto_provider(signal_context *context)
|
void setup_signal_vala_crypto_provider(signal_context *context)
|
||||||
{
|
{
|
||||||
|
gcry_check_version(NULL);
|
||||||
|
|
||||||
signal_crypto_provider provider = {
|
signal_crypto_provider provider = {
|
||||||
.random_func = signal_vala_random_generator,
|
.random_func = signal_vala_random_generator,
|
||||||
.hmac_sha256_init_func = signal_vala_hmac_sha256_init,
|
.hmac_sha256_init_func = signal_vala_hmac_sha256_init,
|
||||||
|
|
Loading…
Reference in a new issue