From d20eca274e77544bb13c7aa10627067b5097c80a Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Thu, 13 Feb 2025 11:46:13 +0000
Subject: [PATCH] Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
 .github/workflows/build_windows.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml
index 7d574442..6203bda1 100644
--- a/.github/workflows/build_windows.yaml
+++ b/.github/workflows/build_windows.yaml
@@ -37,7 +37,6 @@ jobs:
         environment: ${{ inputs.sign && 'packages.element.io' || '' }}
         env:
             SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22000.0/x86/signtool.exe"
-            CERTUTIL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22000.0/x86/certutil.exe"
             ESIGNER_URL: https://github.com/SSLcom/eSignerCKA/releases/download/v1.0.6/SSL.COM-eSigner-CKA_1.0.6.zip
             INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
             MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key
@@ -182,7 +181,7 @@ jobs:
                   $chain = New-Object -TypeName System.Security.Cryptography.X509Certificates.X509Chain
                   $chain.Build($cert)
                   $chain.ChainElements[2].Certificate | Export-Certificate -Type CERT -FilePath SSLcom-sandbox-root.crt
-                  . "$env:CERTUTIL_PATH" -addstore root ./SSLcom-sandbox-root.crt
+                  certutil.exe -addstore root ./SSLcom-sandbox-root.crt
               env:
                   INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
                   MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key