]> git.sesse.net Git - vlc/commitdiff
update check: Initialize gcrypt threading - fixes #1483
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 11:39:50 +0000 (14:39 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 11:39:50 +0000 (14:39 +0300)
src/misc/update.c

index 8b3a4ad871cc051ead9c050768871613e503f2a5..cd1cd408bfb5ea1ab4f6bb4b4887ebc0a93190c9 100644 (file)
@@ -48,6 +48,7 @@
 #include <vlc_pgpkey.h>
 #include <vlc_stream.h>
 #include <vlc_interface.h>
+#include <vlc_gcrypt.h>
 
 
 /*****************************************************************************
@@ -853,6 +854,7 @@ update_t *__update_New( vlc_object_t *p_this )
     p_update->release.psz_desc = NULL;
 
     p_update->p_pkey = NULL;
+    vlc_gcrypt_init();
 
     return p_update;
 }