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

    r5403 r5412  
    641641libssl_present 
    642642openssl_h_present 
     643ac_ssl_has_aes_gcm 
    643644ac_no_ssl 
    644645ac_webrtc_ldflags 
     
    78387839 
    78397840 
     7841ac_ssl_has_aes_gcm=0 
     7842 
    78407843# Check whether --enable-ssl was given. 
    78417844if test "${enable_ssl+set}" = set; then : 
     
    79497952                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
    79507953$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
     7954 
     7955                        # Check if SRTP should be compiled with OpenSSL 
     7956                        # support, to enable cryptos such as AES GCM    AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) 
     7957                        if test "x$ac_ssl_has_aes_gcm" = "x1"; then 
     7958                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL has AES GCM support, SRTP will use OpenSSl version" >&5 
     7959$as_echo "OpenSSL has AES GCM support, SRTP will use OpenSSl version" >&6; } 
     7960                        else 
     7961                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos" >&5 
     7962$as_echo "OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos" >&6; } 
     7963                        fi 
     7964 
    79517965                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    79527966                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
Note: See TracChangeset for help on using the changeset viewer.