From 99ab915f248d720246ec62dcb72c41885fdbde0d Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Mon, 24 Feb 2014 20:12:43 -0600 Subject: [PATCH] windows update libsrtp to use openssl --- libs/srtp/config.hw | 1 + libs/srtp/libsrtp.2010.vcxproj | 16 ++++++++------- libs/srtp/libsrtp.2010.vcxproj.filters | 27 +++++++++++++++++--------- libs/srtp/libsrtp.2012.vcxproj | 16 ++++++++------- libs/srtp/libsrtp.2012.vcxproj.filters | 24 ++++++++++++++--------- 5 files changed, 52 insertions(+), 32 deletions(-) diff --git a/libs/srtp/config.hw b/libs/srtp/config.hw index 349858433e..902598f3fc 100644 --- a/libs/srtp/config.hw +++ b/libs/srtp/config.hw @@ -195,4 +195,5 @@ typedef __int64 int64_t; #ifdef _MSC_VER #pragma warning(disable:4311) +#define OPENSSL #endif diff --git a/libs/srtp/libsrtp.2010.vcxproj b/libs/srtp/libsrtp.2010.vcxproj index 56a6ba6cf7..1b037c00b8 100644 --- a/libs/srtp/libsrtp.2010.vcxproj +++ b/libs/srtp/libsrtp.2010.vcxproj @@ -127,7 +127,7 @@ Disabled - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) true EnableFastChecks @@ -149,7 +149,7 @@ Disabled - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) true EnableFastChecks @@ -166,7 +166,7 @@ copy /Y "$(ProjectDir)config.hw" "$(ProjectDir)crypto\include\config.h" > NUL - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) MultiThreadedDLL Default @@ -184,7 +184,7 @@ X64 - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) MultiThreadedDLL Default @@ -344,6 +344,9 @@ + + + @@ -362,13 +365,10 @@ false - - - @@ -378,7 +378,9 @@ + + diff --git a/libs/srtp/libsrtp.2010.vcxproj.filters b/libs/srtp/libsrtp.2010.vcxproj.filters index 80b52717d3..fd07810016 100644 --- a/libs/srtp/libsrtp.2010.vcxproj.filters +++ b/libs/srtp/libsrtp.2010.vcxproj.filters @@ -60,9 +60,6 @@ Source Files\Ciphers - - Source Files\Ciphers - Source Files\Ciphers @@ -72,15 +69,9 @@ Source Files\Hashes - - Source Files\Hashes - Source Files\Hashes - - Source Files\Hashes - Source Files\Replay @@ -96,6 +87,18 @@ Source Files\Math + + Source Files + + + Source Files\Hashes + + + Source Files\Ciphers + + + Source Files\Ciphers + @@ -191,6 +194,12 @@ Header Files + + Header Files + + + Header Files + diff --git a/libs/srtp/libsrtp.2012.vcxproj b/libs/srtp/libsrtp.2012.vcxproj index 473bf9a314..b9852910cf 100644 --- a/libs/srtp/libsrtp.2012.vcxproj +++ b/libs/srtp/libsrtp.2012.vcxproj @@ -135,7 +135,7 @@ Disabled - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) true EnableFastChecks @@ -157,7 +157,7 @@ Disabled - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) true EnableFastChecks @@ -174,7 +174,7 @@ copy /Y "$(ProjectDir)config.hw" "$(ProjectDir)crypto\include\config.h" > NUL - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) MultiThreadedDLL Default @@ -192,7 +192,7 @@ X64 - crypto/include;include;%(AdditionalIncludeDirectories) + crypto/include;include;..\openssl-1.0.1f\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) MultiThreadedDLL Default @@ -356,6 +356,9 @@ + + + @@ -374,13 +377,10 @@ false - - - @@ -390,7 +390,9 @@ + + diff --git a/libs/srtp/libsrtp.2012.vcxproj.filters b/libs/srtp/libsrtp.2012.vcxproj.filters index ba160b64ac..fd07810016 100644 --- a/libs/srtp/libsrtp.2012.vcxproj.filters +++ b/libs/srtp/libsrtp.2012.vcxproj.filters @@ -60,9 +60,6 @@ Source Files\Ciphers - - Source Files\Ciphers - Source Files\Ciphers @@ -72,15 +69,9 @@ Source Files\Hashes - - Source Files\Hashes - Source Files\Hashes - - Source Files\Hashes - Source Files\Replay @@ -99,6 +90,15 @@ Source Files + + Source Files\Hashes + + + Source Files\Ciphers + + + Source Files\Ciphers + @@ -194,6 +194,12 @@ Header Files + + Header Files + + + Header Files +