Skip to content

Commit

Permalink
CURL options to support connection options
Browse files Browse the repository at this point in the history
e.g. to work behind a corporate proxy:
CURL_OPTIONS="--proxy http://corpproxy.pro"
  • Loading branch information
lifeisfoo committed Sep 18, 2015
1 parent 2996f57 commit 64b87a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-libssl.sh
Expand Up @@ -24,6 +24,7 @@
VERSION="1.0.2d" #
SDKVERSION=`xcrun -sdk iphoneos --show-sdk-version` #
CONFIG_OPTIONS=""
CURL_OPTIONS=""

# To set "enable-ec_nistp_64_gcc_128" configuration for x64 archs set next variable to "true"
ENABLE_EC_NISTP_64_GCC_128=""
Expand Down Expand Up @@ -66,7 +67,7 @@ esac
set -e
if [ ! -e openssl-${VERSION}.tar.gz ]; then
echo "Downloading openssl-${VERSION}.tar.gz"
curl -O https://www.openssl.org/source/openssl-${VERSION}.tar.gz
curl ${CURL_OPTIONS} -O https://www.openssl.org/source/openssl-${VERSION}.tar.gz
else
echo "Using openssl-${VERSION}.tar.gz"
fi
Expand Down

0 comments on commit 64b87a6

Please sign in to comment.