diff options
| author | Jim McGrath <jimmc2@gmail.com> | 2018-02-22 15:19:14 -0600 |
|---|---|---|
| committer | Jim McGrath <jimmc2@gmail.com> | 2018-02-22 15:19:14 -0600 |
| commit | b0f2b75a2b22ae62eb2ad2ebd505d6c33520b448 (patch) | |
| tree | 0368adbcac9abdbd6fac8a67b8ec471285bfad3b /scripts | |
| parent | 86a652c31cba8a70eef41f999e2a6dc1be592303 (diff) | |
| download | vcpkg-b0f2b75a2b22ae62eb2ad2ebd505d6c33520b448.tar.gz vcpkg-b0f2b75a2b22ae62eb2ad2ebd505d6c33520b448.zip | |
use TLS 1.2 for downloads
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index b73361fd1..0cad383d0 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -1,3 +1,4 @@ +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 function vcpkgHasModule([Parameter(Mandatory=$true)][string]$moduleName) { return [bool](Get-Module -ListAvailable -Name $moduleName) |
