Skip to content

Commit e67ab2e

Browse files
committed
Attempt again to enable OpenSSL legacy provider on Windows
1 parent e47a558 commit e67ab2e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-2022]
16+
os: [ubuntu-latest, macos-latest, windows-latest]
1717
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1818
include:
1919
- os: macos-latest
@@ -56,6 +56,19 @@ jobs:
5656
asyncssh/setup.py
5757
asyncssh/tox.ini
5858
59+
- name: Fix modules path for OpenSSL on Windows
60+
if: ${{ runner.os == 'Windows' }}
61+
shell: pwsh
62+
run: |
63+
$openssl_path = ((Get-Command openssl).Path | Split-Path -Parent)
64+
echo "OPENSSL_MODULES=$openssl_path" >> $env:GITHUB_ENV
65+
66+
- name: Verify legacy provider can be enabled in OpenSSL on Windows
67+
if: ${{ runner.os == 'Windows' }}
68+
shell: pwsh
69+
run: |
70+
openssl list -provider default -provider legacy -providers
71+
5972
- name: Set up ccache for liboqs (Linux)
6073
uses: hendrikmuhs/[email protected]
6174
if: ${{ runner.os == 'Linux' }}

0 commit comments

Comments
 (0)