summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-07-05 16:36:59 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-07-05 16:36:59 +0200
commit96db841a16670b52fa462337c657c6dc6bd2844a (patch)
tree5afca14669bc580379cfb6fbf2f0e50fd7e7b1b5 /src
parent51dcefbe0e86b239621d4081ca992134fb581f91 (diff)
downloadpianobar-windows-96db841a16670b52fa462337c657c6dc6bd2844a.tar.gz
pianobar-windows-96db841a16670b52fa462337c657c6dc6bd2844a.tar.bz2
pianobar-windows-96db841a16670b52fa462337c657c6dc6bd2844a.zip
Initialize libgcrypt
Closes #287
Diffstat (limited to 'src')
-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);