1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-25 21:11:00 +02:00

Add back again ssl and crypto testlib

This commit is contained in:
Mészáros Mihály 2021-01-08 08:41:04 +00:00
parent bde7e2ece9
commit d951cd34bf

12
configure vendored
View File

@ -757,15 +757,26 @@ if [ -n "${SSL_CFLAGS}" ] && [ -n "${SSL_LIBS}" ]; then
else else
if testpkg_common libcrypto; then if testpkg_common libcrypto; then
${ECHO_CMD} "OpenSSL Crypto lib found." ${ECHO_CMD} "OpenSSL Crypto lib found."
else
testlib crypto
ER=$?
if ! [ ${ER} -eq 0 ] ; then
${ECHO_CMD} "OpenSSL Crypto lib found."
else else
${ECHO_CMD} "ERROR: OpenSSL Crypto development libraries are not installed properly in required location." ${ECHO_CMD} "ERROR: OpenSSL Crypto development libraries are not installed properly in required location."
${ECHO_CMD} "Abort." ${ECHO_CMD} "Abort."
cleanup cleanup
exit exit
fi fi
fi
if testpkg_common libssl; then if testpkg_common libssl; then
${ECHO_CMD} "OpenSSL lib found." ${ECHO_CMD} "OpenSSL lib found."
else
testlib ssl
ER=$?
if ! [ ${ER} -eq 0 ] ; then
${ECHO_CMD} "OpenSSL lib found."
else else
${ECHO_CMD} "ERROR: OpenSSL development libraries are not installed properly in required location." ${ECHO_CMD} "ERROR: OpenSSL development libraries are not installed properly in required location."
${ECHO_CMD} "Abort." ${ECHO_CMD} "Abort."
@ -773,6 +784,7 @@ else
exit exit
fi fi
fi fi
fi
########################### ###########################
# Can we use GCM cipher ? # Can we use GCM cipher ?
########################### ###########################