Skip to content

Commit c5553fc

Browse files
committed
Revert unix considtion for authenticode check
1 parent 3cf2cf7 commit c5553fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/code/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2333,7 +2333,7 @@ internal static bool CheckAuthenticodeSignature(
23332333
ConcurrentQueue<string> warningMsgs)
23342334
{
23352335
// Because authenticode and catalog verifications are only applicable on Windows, we allow all packages by default to be installed on unix systems.
2336-
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
2336+
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
23372337
{
23382338
warningMsgs.Enqueue("Authenticode check cannot be performed on Linux or MacOS.");
23392339
return true;

0 commit comments

Comments
 (0)