From d924640d4c355d1b5eca1f4cc60146a9975dbbff Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 28 Oct 2016 13:38:19 +1100 Subject: Skip ssh1 specfic ciphers. cipher-3des1.c and cipher-bf1.c are specific to sshv1 so don't even try to compile them when Protocol 1 is not enabled. --- cipher-bf1.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cipher-bf1.c') diff --git a/cipher-bf1.c b/cipher-bf1.c index 7d51f5198..c205b077c 100644 --- a/cipher-bf1.c +++ b/cipher-bf1.c @@ -20,6 +20,7 @@ #include "includes.h" +#ifdef WITH_SSH1 #if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) #include @@ -101,3 +102,5 @@ evp_ssh1_bf(void) return (&ssh1_bf); } #endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */ + +#endif /* WITH_SSH1 */ -- cgit v1.2.3