install: Use TLS v1.2 for curl

Version 1.3 was not working on a user's macOS device.
This commit is contained in:
Alexis Sellier
2024-05-05 00:11:38 +02:00
parent afc012d668
commit c0fbff56c0
+2 -2
View File
@@ -193,9 +193,9 @@ main() {
URL="$(url "$TARGET")"
info "Downloading $URL..."
curl --proto '=https' --tlsv1.3 -# -L "$URL" -o "$ARCHIVE"
curl --proto '=https' --tlsv1.2 -# -L "$URL" -o "$ARCHIVE"
info "Downloading $URL.sig..."
curl --proto '=https' --tlsv1.3 -# -L "$URL.sig" -o "$ARCHIVE.sig"
curl --proto '=https' --tlsv1.2 -# -L "$URL.sig" -o "$ARCHIVE.sig"
info "Verifying $(basename $ARCHIVE)..."
verify "$ARCHIVE"