Merge pull request #2441 from rbenv/use-github-openssl

Use GitHub instead of openssl.org
This commit is contained in:
Hiroshi SHIBATA 2024-09-04 10:49:23 +09:00 committed by GitHub
commit 10eb379aec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ else
exit 1
fi
openssl_url="https://www.openssl.org/source/openssl-${openssl_version}.tar.gz"
openssl_url="https://github.com/openssl/openssl/releases/download/openssl-${openssl_version}/openssl-${openssl_version}.tar.gz"
if command -v sha256sum >/dev/null; then
openssl_sha256=$(sha256sum "$release_directory/$openssl_basename" | cut -d ' ' -f 1)
elif command -v shasum >/dev/null; then