diff options
-rw-r--r-- | xbmc/utils/CryptThreading.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/xbmc/utils/CryptThreading.cpp b/xbmc/utils/CryptThreading.cpp index 5803cdd48d..b2b6be2fa3 100644 --- a/xbmc/utils/CryptThreading.cpp +++ b/xbmc/utils/CryptThreading.cpp @@ -34,16 +34,6 @@ #include <openssl/crypto.h> #endif -#ifdef HAVE_GCRYPT -#include <gcrypt.h> -#include <errno.h> - -#if GCRYPT_VERSION_NUMBER < 0x010600 -GCRY_THREAD_OPTION_PTHREAD_IMPL; -#endif - -#endif - /* ========================================================================= */ /* openssl locking implementation for curl */ #if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER < 0x10100000L @@ -84,14 +74,6 @@ CryptThreadingInitializer::CryptThreadingInitializer() for (int i = 0; i < numlocks; i++) locks[i] = NULL; -#ifdef HAVE_GCRYPT -#if GCRYPT_VERSION_NUMBER < 0x010600 - // set up gcrypt - gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); - attemptedToSetSSLMTHook = true; -#endif -#endif - if (!attemptedToSetSSLMTHook) CLog::Log(LOGWARNING, "Could not determine the libcurl security library to set the locking scheme. This may cause problem with multithreaded use of ssl or libraries that depend on it (libcurl)."); |