diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-07-05 16:36:59 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-07-05 16:36:59 +0200 |
commit | 96db841a16670b52fa462337c657c6dc6bd2844a (patch) | |
tree | 5afca14669bc580379cfb6fbf2f0e50fd7e7b1b5 | |
parent | 51dcefbe0e86b239621d4081ca992134fb581f91 (diff) | |
download | pianobar-96db841a16670b52fa462337c657c6dc6bd2844a.tar.gz pianobar-96db841a16670b52fa462337c657c6dc6bd2844a.tar.bz2 pianobar-96db841a16670b52fa462337c657c6dc6bd2844a.zip |
Initialize libgcrypt
Closes #287
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |