mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
conserver: Fix compilation without deprecated OpenSSL 1.0.2 APIs
Two headers were missing. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=conserver
|
PKG_NAME:=conserver
|
||||||
PKG_VERSION:=8.2.2
|
PKG_VERSION:=8.2.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MAINTAINER:=Bjørn Mork <bjorn@mork.no>
|
PKG_MAINTAINER:=Bjørn Mork <bjorn@mork.no>
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/conserver/cutil.h
|
||||||
|
+++ b/conserver/cutil.h
|
||||||
|
@@ -7,6 +7,8 @@
|
||||||
|
#include <stdarg.h>
|
||||||
|
#if HAVE_OPENSSL
|
||||||
|
# include <openssl/ssl.h>
|
||||||
|
+# include <openssl/bn.h>
|
||||||
|
+# include <openssl/dh.h>
|
||||||
|
# include <openssl/err.h>
|
||||||
|
# if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
# define TLS_method SSLv23_method
|
||||||
Reference in New Issue
Block a user