Ignore:
Timestamp:
Aug 8, 2016 9:09:29 AM (8 years ago)
Author:
ming
Message:

Re #1943: AES-GCM crypto support for SRTP

Special thanks to Alexander Traud for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r5403 r5412  
    15761576dnl # Include SSL support 
    15771577AC_SUBST(ac_no_ssl) 
     1578AC_SUBST(ac_ssl_has_aes_gcm,0) 
    15781579AC_ARG_ENABLE(ssl, 
    15791580              AS_HELP_STRING([--disable-ssl], 
     
    16011602                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    16021603                        AC_MSG_RESULT([OpenSSL library found, SSL support enabled]) 
     1604                         
     1605                        # Check if SRTP should be compiled with OpenSSL 
     1606                        # support, to enable cryptos such as AES GCM    AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) 
     1607                        if test "x$ac_ssl_has_aes_gcm" = "x1"; then 
     1608                                AC_MSG_RESULT([OpenSSL has AES GCM support, SRTP will use OpenSSl version]) 
     1609                        else 
     1610                                AC_MSG_RESULT([OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos]) 
     1611                        fi 
     1612 
    16031613                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    16041614                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
Note: See TracChangeset for help on using the changeset viewer.