summaryrefslogtreecommitdiffstats
path: root/cipher-bf1.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-28 04:38:19 +0200
committerDarren Tucker <dtucker@zip.com.au>2016-10-28 04:38:19 +0200
commitd924640d4c355d1b5eca1f4cc60146a9975dbbff (patch)
tree145cc570e6a450d8f09d4b9d4d472e2b3a324c2f /cipher-bf1.c
parentupstream commit (diff)
downloadopenssh-d924640d4c355d1b5eca1f4cc60146a9975dbbff.tar.xz
openssh-d924640d4c355d1b5eca1f4cc60146a9975dbbff.zip
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.c3
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 @@
#include "includes.h"
+#ifdef WITH_SSH1
#if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF)
#include <sys/types.h>
@@ -101,3 +102,5 @@ evp_ssh1_bf(void)
return (&ssh1_bf);
}
#endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */
+
+#endif /* WITH_SSH1 */