vpnc: Fix compilation without deprecated OpenSSL 1.0.2 APIs 7848/head
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Jan 2019 07:55:24 +0000 (23:55 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 2 Jan 2019 07:55:24 +0000 (23:55 -0800)
One missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/vpnc/Makefile
net/vpnc/patches/110-openssl-deprecated.patch [new file with mode: 0644]

index 2941aecd5b98f8434e336671a4873fd78f69bc43..6d8516d376f95e4dca2151cb2924370ce7570042 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=vpnc
 PKG_REV:=550
 PKG_VERSION:=0.5.3.r$(PKG_REV)
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://svn.unix-ag.uni-kl.de/vpnc/trunk/
diff --git a/net/vpnc/patches/110-openssl-deprecated.patch b/net/vpnc/patches/110-openssl-deprecated.patch
new file mode 100644 (file)
index 0000000..c3d87ee
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/crypto-openssl.c
++++ b/crypto-openssl.c
+@@ -20,6 +20,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <openssl/pem.h>
++#include <openssl/rsa.h>
+ #include "config.h"
+ #include "sysdep.h"
+ #include "crypto.h"