- Timestamp:
- Sep 26, 2016 2:30:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r63861 r64012 50 50 #include <iprt/stream.h> 51 51 #include <iprt/asm.h> 52 53 #ifdef WITH_OPENSSL 54 # include <openssl/opensslv.h> 55 #endif 52 56 53 57 #ifndef RT_OS_WINDOWS … … 749 753 } 750 754 751 #if def WITH_OPENSSL755 #if defined(WITH_OPENSSL) && (OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)) 752 756 /**************************************************************************** 753 757 * 754 * OpenSSL convenience functions for multithread support 758 * OpenSSL convenience functions for multithread support. 759 * Not required for OpenSSL 1.1+ 755 760 * 756 761 ****************************************************************************/ … … 854 859 g_pSSLMutexes = NULL; 855 860 } 856 #endif /* WITH_OPENSSL */861 #endif /* WITH_OPENSSL && (OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)) */ 857 862 858 863 /**************************************************************************** … … 864 869 static void doQueuesLoop() 865 870 { 866 #if def WITH_OPENSSL871 #if defined(WITH_OPENSSL) && (OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)) 867 872 if (g_fSSL && CRYPTO_thread_setup()) 868 873 { … … 870 875 exit(RTEXITCODE_FAILURE); 871 876 } 872 #endif /* WITH_OPENSSL */877 #endif 873 878 874 879 // set up gSOAP … … 965 970 soap_done(&soap); // close master socket and detach environment 966 971 967 #if def WITH_OPENSSL972 #if defined(WITH_OPENSSL) && (OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)) 968 973 if (g_fSSL) 969 974 CRYPTO_thread_cleanup(); 970 #endif /* WITH_OPENSSL */975 #endif 971 976 } 972 977
Note:
See TracChangeset
for help on using the changeset viewer.