Skip to content

Commit

Permalink
Revert "[setup/libsodium] Update to latest version of libsodium."
Browse files Browse the repository at this point in the history
This reverts commit 453e6c1.
  • Loading branch information
dlitz authored and Charles Gruenwald committed Sep 3, 2014
1 parent 9f3872b commit 5f21133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ if [ ! -f "/usr/include/sodium.h" ]; then
color '35;1' 'Installing sodium crypto library'
mkdir -p setup
cd setup
libsodium=libsodium-0.7.0.tar.gz
libsodium=libsodium-0.4.3.tar.gz
if [ ! -f $libsodium ]; then
color '34;1' ' > Downloading...'
wget -q -O "$libsodium" https://download.libsodium.org/libsodium/releases/$libsodium
fi

color '34;1' ' > Checking the hash...'
if ! shasum -a 256 -s -c << EOF
4ccaffd1a15be67786e28a61b602492a97eb5bcb83455ed53c02fa038b8e9168 *$libsodium
599ce19ae6ace2d30aee353b931088f720713c4e1d0b2918ed46de1914fb6042 *$libsodium
EOF
then
color '31;1' " Error verifying $libsodium hash!"
Expand Down

0 comments on commit 5f21133

Please sign in to comment.