aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.sh
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-05-07 14:20:14 -0700
committerGitHub <noreply@github.com>2020-05-07 14:20:14 -0700
commitd7d410b50bce43ec28699e6fa86f066a3eeceeb4 (patch)
tree3bb5d5c6a0dd800bd21c7b42ef8c59161dd539e9 /scripts/bootstrap.sh
parentb07e46b368526f34722d6e9eba4a5f87ca425b88 (diff)
downloadvcpkg-d7d410b50bce43ec28699e6fa86f066a3eeceeb4.tar.gz
vcpkg-d7d410b50bce43ec28699e6fa86f066a3eeceeb4.zip
[vcpkg] Restrict telemetry uploads to TLS 1.2 (#11213)
* [vcpkg] Restrict telemetry uploads to TLS 1.2, as required by Azure security policy. Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'scripts/bootstrap.sh')
-rw-r--r--scripts/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 9f6560e30..c3ba881d8 100644
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -100,7 +100,7 @@ vcpkgDownloadFile()
url=$1; downloadPath=$2 sha512=$3
vcpkgCheckRepoTool "curl"
rm -rf "$downloadPath.part"
- curl -L $url --create-dirs --retry 3 --output "$downloadPath.part" || exit 1
+ curl -L $url --tlsv1.2 --create-dirs --retry 3 --output "$downloadPath.part" || exit 1
vcpkgCheckEqualFileHash $url "$downloadPath.part" $sha512
mv "$downloadPath.part" "$downloadPath"