packages/net/vpnc/patches/110-openssl-deprecated.patch
Rosen Penev 5a6bc18334 vpnc: Fix compilation without deprecated OpenSSL 1.0.2 APIs
One missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-01 23:55:24 -08:00

10 lines
220 B
Diff

--- 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"