diff --git a/tools/ssl-ios b/tools/ssl-ios index a360b461..88883b56 100755 --- a/tools/ssl-ios +++ b/tools/ssl-ios @@ -14,7 +14,7 @@ if [ ! -d out/openssl-${OPENSSL_VERSION} ] then if [ ! -f out/openssl-${OPENSSL_VERSION}.tar.gz ] then - curl https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz -o out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128 + curl -L https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz -o out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128 fi tar -C out/ -xzf out/openssl-${OPENSSL_VERSION}.tar.gz || exit 128 fi