Commit fee84405 authored by François Grisez's avatar François Grisez
Browse files

Add detection of two functions of libsrtp by the configure script

Added function:
 * crypto_policy_set_aes_cm_256_hmac_sha1_32
 * crypto_policy_set_aes_cm_256_hmac_sha1_80

These functions are not present in the version of libsrtp distributed
by Debian 6
parent 4ad81eb5
......@@ -1032,7 +1032,7 @@ if test "${srtp_prefix}" != "none" ; then
LDFLAGS_save=$LDFLAGS
LDFLAGS="$LDFLAGS $SRTP_LIBS"
LIBS_save=$LIBS
AC_CHECK_LIB(srtp,srtp_init,have_srtp_lib=yes)
AC_CHECK_LIB(srtp,[srtp_init, crypto_policy_set_aes_cm_256_hmac_sha1_80, crypto_policy_set_aes_cm_256_hmac_sha1_32], have_srtp_lib=yes)
LDFLAGS=$LDFLAGS_save
LIBS=$LIBS_save
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment