]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix implicit declarations when HAVE_OPENSSL_ENGINE is unset
authorJulien Muchembled <jm@nexedi.com>
Fri, 16 Dec 2016 16:32:18 +0000 (17:32 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 4 Jan 2017 19:26:12 +0000 (20:26 +0100)
commitab1302d47b0f2b2ac9272b9fbb90ef0bd7b7cc35
tree761fe1c22e5393bb30cca4f56d98e1a3c624f4be
parent49e6ce5b9dea9b7beadb9a6e2586770090c5556b
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 <jm@nexedi.com>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
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 <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c