diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/omemo/crypto.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/omemo/crypto.c b/src/omemo/crypto.c index 49be2003..81d7c922 100644 --- a/src/omemo/crypto.c +++ b/src/omemo/crypto.c @@ -47,6 +47,12 @@ omemo_crypto_init(void) return -1; } + gcry_control(GCRYCTL_SUSPEND_SECMEM_WARN); + + gcry_control(GCRYCTL_INIT_SECMEM, 16384, 0); + + gcry_control(GCRYCTL_RESUME_SECMEM_WARN); + gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); return 0; |