From 3e35bb369e74adae1dbc0aaf1e8b8e3ba7b85f16 Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 25 Feb 2008 10:13:47 +0000 Subject: [PATCH] - (dtucker) [includes.h openbsd-compat/openssl-compat.c] Bug #1437: reshuffle headers so ./configure --with-ssl-engine actually works. Patch from Ian Lister. --- ChangeLog | 3 +++ includes.h | 1 + openbsd-compat/openssl-compat.c | 4 +--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fa4df0b7..8610ad0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ - (dtucker) [configure.ac audit-bsm.c] Bug #1420: Add a local implementation of aug_get_machine for systems that don't have their own (eg OS X, FreeBSD). Help and testing from csjp at FreeBSD org, vgiffin at apple com. ok djm@ + - (dtucker) [includes.h openbsd-compat/openssl-compat.c] Bug #1437: reshuffle + headers so ./configure --with-ssl-engine actually works. Patch from + Ian Lister. 20080224 - (tim) [contrib/cygwin/ssh-host-config] diff --git a/includes.h b/includes.h index 9fcf1b02..af231a9b 100644 --- a/includes.h +++ b/includes.h @@ -166,6 +166,7 @@ #include "platform.h" #include "openbsd-compat/openbsd-compat.h" #include "openbsd-compat/bsd-nextstep.h" +#include "openbsd-compat/openssl-compat.h" #include "entropy.h" diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index 56449092..58faf63b 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c @@ -16,15 +16,13 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define SSH_DONT_OVERLOAD_OPENSSL_FUNCS #include "includes.h" #ifdef USE_OPENSSL_ENGINE # include #endif -#define SSH_DONT_OVERLOAD_OPENSSL_FUNCS -#include "openssl-compat.h" - #ifdef SSH_OLD_EVP int ssh_EVP_CipherInit(EVP_CIPHER_CTX *evp, const EVP_CIPHER *type, -- 2.45.2