Skip to content

Commit 0523722

Browse files
authored
Merge pull request #62 from libgit2/ethomson/tls12
download artifacts: force TLS1.2
2 parents b83b64d + f650a38 commit 0523722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

download.build.artifacts.and.package.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Set-StrictMode -Version Latest
77
$ErrorActionPreference = "Stop"
88

99
function Invoke-RestMethod-Ex($url, $downloadLocation) {
10+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
1011

1112
$irmParams = @{
1213
}

0 commit comments

Comments
 (0)