1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-25 13:00:59 +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,21 +757,33 @@ if [ -n "${SSL_CFLAGS}" ] && [ -n "${SSL_LIBS}" ]; then
else
if testpkg_common libcrypto; then
${ECHO_CMD} "OpenSSL Crypto lib found."
else
testlib crypto
ER=$?
if ! [ ${ER} -eq 0 ] ; then
${ECHO_CMD} "OpenSSL Crypto lib found."
else
${ECHO_CMD} "ERROR: OpenSSL Crypto development libraries are not installed properly in required location."
${ECHO_CMD} "Abort."
cleanup
exit
fi
fi
if testpkg_common libssl; then
${ECHO_CMD} "OpenSSL lib found."
else
testlib ssl
ER=$?
if ! [ ${ER} -eq 0 ] ; then
${ECHO_CMD} "OpenSSL lib found."
else
${ECHO_CMD} "ERROR: OpenSSL development libraries are not installed properly in required location."
${ECHO_CMD} "Abort."
cleanup
exit
fi
fi
fi
###########################
# Can we use GCM cipher ?