当我尝试在 Lubuntu 16.04 x86_64 上构建 PJSIP 2.6 时,即使我安装了 OpenSSL,它也找不到 AES GCM 支持。
./configure | grep -e ssl -e SSL -e crypto
checking for OpenSSL installations..
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for ERR_load_BIO_strings in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
OpenSSL library found, SSL support enabled
OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos
我还尝试构建一个单独的 OpenSSL 版本(1.1.0e)并且行为是相似的。如何启用 AES GCM 支持?