Revert "_build/generate-badge.sh: Connect to shields.io using SSLv3"

This reverts commit 1561786f3167b23a903a4be0d35cbb065e3c10b6.
This commit is contained in:
Daniel Rudolf 2016-01-14 16:24:10 +01:00
parent 1561786f31
commit 9f0c7bde5d

View File

@ -29,13 +29,10 @@ printf 'BADGE_COLOR="%s"\n' "$BADGE_COLOR"
echo echo
# download badge from shields.io # download badge from shields.io
# use SSLv3 due to a strange TLS bug in Ubuntu 12.04 LTS used by Travis CI
# see https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/861137 for details
printf 'Downloading badge...\n' printf 'Downloading badge...\n'
TMP_BADGE="$(mktemp -u)" TMP_BADGE="$(mktemp -u)"
wget --secure-protocol=SSLv3 \ wget -O "$TMP_BADGE" \
-O "$TMP_BADGE" \
"https://img.shields.io/badge/$BADGE_SUBJECT-$BADGE_STATUS-$BADGE_COLOR.svg" "https://img.shields.io/badge/$BADGE_SUBJECT-$BADGE_STATUS-$BADGE_COLOR.svg"
# validate badge # validate badge