diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-28 13:38:19 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-28 13:38:19 +1100 |
commit | d924640d4c355d1b5eca1f4cc60146a9975dbbff (patch) | |
tree | 145cc570e6a450d8f09d4b9d4d472e2b3a324c2f /cipher-bf1.c | |
parent | 79d078e7a49caef746516d9710ec369ba45feab6 (diff) |
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.
Diffstat (limited to 'cipher-bf1.c')
-rw-r--r-- | cipher-bf1.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
20 | 20 | ||
21 | #include "includes.h" | 21 | #include "includes.h" |
22 | 22 | ||
23 | #ifdef WITH_SSH1 | ||
23 | #if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) | 24 | #if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) |
24 | 25 | ||
25 | #include <sys/types.h> | 26 | #include <sys/types.h> |
@@ -101,3 +102,5 @@ evp_ssh1_bf(void) | |||
101 | return (&ssh1_bf); | 102 | return (&ssh1_bf); |
102 | } | 103 | } |
103 | #endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */ | 104 | #endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */ |
105 | |||
106 | #endif /* WITH_SSH1 */ | ||