Use IID_PPV_ARGS and CComPtr to simplify
[LibreOffice.git] / external / python3 / python-3.7.6-msvc-ssl.patch.1
blob0c475debe94cc98aeb7e5459a7c40391a93a0680
1 No use for applink.c OPENSSL_Applink, everything is compiled with the same MSVC
3 --- python3/PCbuild/_ssl.vcxproj.orig2  2019-12-23 15:54:19.254298900 +0100
4 +++ python3/PCbuild/_ssl.vcxproj        2019-12-23 15:54:24.693251200 +0100
5 @@ -99,9 +99,6 @@
6    </ItemDefinitionGroup>\r
7    <ItemGroup>\r
8      <ClCompile Include="..\Modules\_ssl.c" />\r
9 -    <ClCompile Include="$(opensslIncludeDir)\applink.c">\r
10 -      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;$(PreprocessorDefinitions)</PreprocessorDefinitions>\r
11 -    </ClCompile>\r
12    </ItemGroup>\r
13    <ItemGroup>\r
14      <ResourceCompile Include="..\PC\python_nt.rc" />\r
15 --- python3/PCbuild/openssl.props.orig  2019-12-23 16:20:34.588135900 +0100
16 +++ python3/PCbuild/openssl.props       2019-12-23 16:20:51.074001300 +0100
17 @@ -11,8 +11,6 @@
18    </ItemDefinitionGroup>\r
19    <PropertyGroup>\r
20      <_DLLSuffix>-3</_DLLSuffix>\r
21 -    <_DLLSuffix Condition="$(Platform) == 'ARM'">$(_DLLSuffix)-arm</_DLLSuffix>\r
22 -    <_DLLSuffix Condition="$(Platform) == 'ARM64'">$(_DLLSuffix)-arm64</_DLLSuffix>\r
23      <OpenSSLDLLSuffix Condition="$(OpenSSLDLLSuffix) == ''">$(_DLLSuffix)</OpenSSLDLLSuffix>\r
24    </PropertyGroup>\r
25    <ItemGroup>\r