From 19ffc925477f06d8296dfcc1cbd1aac7783446b2 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Mon, 23 Jan 2017 05:18:21 +0000 Subject: Re #1932: Updated configure script for AES-GCM support detection. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5540 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'aconfigure.ac') diff --git a/aconfigure.ac b/aconfigure.ac index c7e8d45a..bff5cd4c 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -1563,10 +1563,9 @@ AC_ARG_ENABLE(ssl, # support, to enable cryptos such as AES GCM. # EVP_CIPHER_CTX is now opaque in OpenSSL 1.1.0, libsrtp 1.5.4 uses it as a transparent type. - # AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [EVP_CIPHER_CTX ctx;EVP_aes_128_gcm();])], - [ac_ssl_has_aes_gcm=1]) + [AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1])]) if test "x$ac_ssl_has_aes_gcm" = "x1"; then AC_MSG_RESULT([OpenSSL has AES GCM support, SRTP will use OpenSSL]) else -- cgit v1.2.3