From ab1302d47b0f2b2ac9272b9fbb90ef0bd7b7cc35 Mon Sep 17 00:00:00 2001 From: Julien Muchembled Date: Fri, 16 Dec 2016 17:32:18 +0100 Subject: [PATCH] Fix implicit declarations when HAVE_OPENSSL_ENGINE is unset This fixes a regression in commit 8e95e20913: on amd64, an implicit declaration of ERR_error_string leads to segfaults if the returned pointer does not fit in an 'int'. Trac: #792 Signed-off-by: Julien Muchembled Acked-by: Steffan Karger Message-Id: <20161216163218.25449-1-jm@nexedi.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13591.html Signed-off-by: Gert Doering --- src/openvpn/crypto_openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/crypto_openssl.c b/src/openvpn/crypto_openssl.c index e1545f0de..c34e650d7 100644 --- a/src/openvpn/crypto_openssl.c +++ b/src/openvpn/crypto_openssl.c @@ -45,6 +45,8 @@ #include #include #include +#include +#include /* * Check for key size creepage. -- 2.47.2