Fix custom OpenSSL tests.
Check out specified OpenSSL version. Install custom libcrypto where configure expects to find it. Remove unneeded OpenSSL config time options. Older OpenSSL versions were not make -j safe so remove it.
This commit is contained in:
parent
7753260987
commit
b3cc9fbdff
|
@ -98,9 +98,10 @@ if [ ! -z "${INSTALL_OPENSSL}" ]; then
|
|||
(cd ${HOME} &&
|
||||
git clone https://github.com/openssl/openssl.git &&
|
||||
cd ${HOME}/openssl &&
|
||||
./config no-threads no-engine no-fips no-shared ${SSLCONFOPTS} \
|
||||
--prefix=/opt/openssl/head &&
|
||||
make -j2 && sudo make install_sw)
|
||||
git checkout ${INSTALL_OPENSSL} &&
|
||||
./config no-threads ${SSLCONFOPTS} \
|
||||
--prefix=/opt/openssl &&
|
||||
make && sudo make install_sw)
|
||||
fi
|
||||
|
||||
if [ ! -z "${INSTALL_LIBRESSL}" ]; then
|
||||
|
@ -109,6 +110,6 @@ if [ ! -z "${INSTALL_LIBRESSL}" ]; then
|
|||
cd ${HOME}/libressl/portable &&
|
||||
git checkout ${INSTALL_LIBRESSL} &&
|
||||
sh update.sh && sh autogen.sh &&
|
||||
./configure --prefix=/opt/libressl/head &&
|
||||
./configure --prefix=/opt/libressl &&
|
||||
make -j2 && sudo make install)
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue