Skip to content

Commit

Permalink
datapath-windows: Add file digest algorithm for signtool
Browse files Browse the repository at this point in the history
This patch specifies the file digest algorithm for signtool on the package
and ovsext VS projects.

Fixes broken appveyor build.

Signed-off-by: Alin-Gabriel Serdean <[email protected]>
Acked-by: Aaron Conole <[email protected]>
  • Loading branch information
aserdean committed Oct 11, 2021
1 parent 5b7d54e commit 7796253
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions datapath-windows/Package/package.VcxProj
Original file line number Diff line number Diff line change
Expand Up @@ -151,46 +151,73 @@
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8Analyze|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1Analyze|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
<Inf2Cat>
<UseLocalTime>true</UseLocalTime>
</Inf2Cat>
<DriverSign>
<FileDigestAlgorithm>SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemGroup>
<!--Inf Include="DriverInf.inv" /-->
Expand Down
13 changes: 12 additions & 1 deletion datapath-windows/ovsext/ovsext.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,17 @@
<Inf>
<TimeStamp Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">$(Version)</TimeStamp>
</Inf>
<DriverSign>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8Analyze|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win8.1Analyze|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'">SHA256</FileDigestAlgorithm>
<FileDigestAlgorithm Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">SHA256</FileDigestAlgorithm>
</DriverSign>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Actions.c" />
Expand Down Expand Up @@ -441,4 +452,4 @@
<None Exclude="@(None)" Include="*.def;*.bat;*.hpj;*.asmx" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
</Project>

0 comments on commit 7796253

Please sign in to comment.