baresip: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c23f919731
commit
6f252c0ba2
2 changed files with 12 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=baresip
|
||||
PKG_VERSION:=0.6.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.creytiv.com/pub
|
||||
|
|
11
net/baresip/patches/010-openssl-deprecated.patch
Normal file
11
net/baresip/patches/010-openssl-deprecated.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/modules/debug_cmd/debug_cmd.c
|
||||
+++ b/modules/debug_cmd/debug_cmd.c
|
||||
@@ -56,7 +56,7 @@ static int print_system_info(struct re_printf *pf, void *arg)
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
err |= re_hprintf(pf, " OpenSSL: %s\n",
|
||||
- SSLeay_version(SSLEAY_VERSION));
|
||||
+ OpenSSL_version(OPENSSL_VERSION));
|
||||
#endif
|
||||
|
||||
return err;
|
Loading…
Reference in a new issue