shadowsocks/tests/libopenssl/install.sh
Zou Yong 5e2bf92ef6 add mbedtls crypto wrapper.
add tests files for new aead ciphers
add custom lib path support
fix some typo
2017-03-21 19:24:53 +08:00

11 lines
324 B
Bash
Executable file

#!/bin/bash
OPENSSL_VER=1.1.0e
if [ ! -d openssl-$OPENSSL_VER ]; then
wget https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || exit 1
tar xf openssl-$OPENSSL_VER.tar.gz || exit 1
fi
pushd openssl-$OPENSSL_VER
./config && make && sudo make install || exit 1
# sudo ldconfig # test multiple libcrypto
popd