Merge pull request #7848 from neheb/vno
vpnc: Fix compilation without deprecated OpenSSL 1.0.2 APIs
This commit is contained in:
commit
ab49d61019
2 changed files with 11 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=vpnc
|
PKG_NAME:=vpnc
|
||||||
PKG_REV:=550
|
PKG_REV:=550
|
||||||
PKG_VERSION:=0.5.3.r$(PKG_REV)
|
PKG_VERSION:=0.5.3.r$(PKG_REV)
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://svn.unix-ag.uni-kl.de/vpnc/trunk/
|
PKG_SOURCE_URL:=http://svn.unix-ag.uni-kl.de/vpnc/trunk/
|
||||||
|
|
10
net/vpnc/patches/110-openssl-deprecated.patch
Normal file
10
net/vpnc/patches/110-openssl-deprecated.patch
Normal file
|
@ -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"
|
Loading…
Reference in a new issue