From 9b9ef7ff8442265ef17d956eedb25cc409a39aad Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 30 Apr 2022 17:57:54 +0200 Subject: [PATCH] libsrtp: use OpenSSL Use OpenSSL instead of the internal crypto backend. Everything in OpenWrt that links to libsrtp2 depends on OpenSSL anyway. Upsides: - the libsrtp2 package size shrinks a bit (for example from 35 to 24 KiB on ath79) - allows to use more cipher suites - may allow for hardware acceleration Closes #763 Signed-off-by: Sebastian Kemper --- libs/libsrtp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libsrtp/Makefile b/libs/libsrtp/Makefile index a488a64..7d670b2 100644 --- a/libs/libsrtp/Makefile +++ b/libs/libsrtp/Makefile @@ -21,13 +21,15 @@ PKG_MAINTAINER:=Jiri Slachta include $(INCLUDE_DIR)/package.mk +CONFIGURE_ARGS+=--enable-openssl + define Package/libsrtp2 SUBMENU:=Telephony SECTION:=libs CATEGORY:=Libraries TITLE:=Secure RTP (SRTP) library, v$(PKG_VERSION) URL:=https://github.com/cisco/libsrtp - DEPENDS:= + DEPENDS:=+libopenssl ABI_VERSION:=1 endef -- 2.30.2