summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7613894..174d144 100644
--- a/src/main.c
+++ b/src/main.c
@@ -343,6 +343,9 @@ int main (int argc, char **argv) {
/* init some things */
ao_initialize ();
+ gcry_check_version (NULL);
+ gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
+ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
gnutls_global_init ();
BarSettingsInit (&app.settings);