mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows] OpenSSL: do not install DLLs globally to system32 (#13203)
This commit is contained in:
@@ -235,4 +235,9 @@ Describe "OpenSSL" {
|
||||
It "OpenSSL Full package" {
|
||||
Join-Path ${env:ProgramFiles} 'OpenSSL\include' | Should -Exist
|
||||
}
|
||||
|
||||
It "OpenSSL DLLs not in System32" {
|
||||
Get-ChildItem -Path "$env:SystemRoot\System32" -Filter "libcrypto-*.dll" -File -ErrorAction SilentlyContinue | Should -BeNullOrEmpty
|
||||
Get-ChildItem -Path "$env:SystemRoot\System32" -Filter "libssl-*.dll" -File -ErrorAction SilentlyContinue | Should -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user