From 6afb3f2ee037ffed1baddb2cb0f857be9e85dcf9 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 4 Mar 2021 14:54:42 -0800 Subject: [PATCH] corrected a logic error in the helper.rb Signed-off-by: John McCrae --- lib/win32/certstore/mixin/helper.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/win32/certstore/mixin/helper.rb b/lib/win32/certstore/mixin/helper.rb index 782ef57..1f69d75 100644 --- a/lib/win32/certstore/mixin/helper.rb +++ b/lib/win32/certstore/mixin/helper.rb @@ -34,10 +34,8 @@ def cert_ps_cmd(thumbprint, store_location: "LocalMachine", export_password: "12 if($use.FriendlyName -like "Client Authentication" ){ return $true } - else { - return $false - } } + return $false } $result = test_cert_values