[Ubuntu] Pin SHA256 for PhantomJS and libssl1.1 (#8799)

This commit is contained in:
Erik Bershel
2023-11-17 11:36:37 +01:00
committed by GitHub
parent cd2cabc7ab
commit 164eb6cdc2
2 changed files with 8 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ source $HELPER_SCRIPTS/os.sh
# Install libssl1.1 dependency
if isUbuntu22; then
download_with_retries "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb" "/tmp"
libssl_hash="0b3251aee55db6e20d02f4b9a2b703c9874a85ab6a20b12f4870f52f91633d37"
use_checksum_comparison "/tmp/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb" "${libssl_hash}"
dpkg -i /tmp/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
fi