Browse Source

vpnc: Fix compilation without deprecated OpenSSL 1.0.2 APIs

One missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
5a6bc18334
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      net/vpnc/Makefile
  2. +10
    -0
      net/vpnc/patches/110-openssl-deprecated.patch

+ 1
- 1
net/vpnc/Makefile View File

@ -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
- 0
net/vpnc/patches/110-openssl-deprecated.patch View 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…
Cancel
Save