Permalink
Browse files

Initialize libgcrypt

Closes #287
  • Loading branch information...
1 parent 51dcefb commit 96db841a16670b52fa462337c657c6dc6bd2844a @PromyLOPh committed Jul 5, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main.c
View
3 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);

0 comments on commit 96db841

Please sign in to comment.