From f0bd352429f26f99b7bdacd23baf46b39a9f600a Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 17 Jun 2005 21:15:20 +1000 Subject: - (dtucker) [cipher.c openbsd-compat/openbsd-compat.h openbsd-compat/openssl-compat.c] only include openssl compat stuff where it's needed as it can cause conflicts elsewhere (eg xcrypt.c). Found by and ok tim@ ---------------------------------------------------------------------- automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- --- cipher.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cipher.c') diff --git a/cipher.c b/cipher.c index 20d0a80c..fc1e2ae1 100644 --- a/cipher.c +++ b/cipher.c @@ -43,6 +43,9 @@ RCSID("$OpenBSD: cipher.c,v 1.76 2005/06/17 02:44:32 djm Exp $"); #include +/* compatibility with old or broken OpenSSL versions */ +#include "openbsd-compat/openssl-compat.h" + extern const EVP_CIPHER *evp_ssh1_bf(void); extern const EVP_CIPHER *evp_ssh1_3des(void); extern void ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int); -- cgit v1.2.1