summaryrefslogtreecommitdiffstats
path: root/cipher-3des1.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-28 13:38:19 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-28 13:38:19 +1100
commitd924640d4c355d1b5eca1f4cc60146a9975dbbff (patch)
tree145cc570e6a450d8f09d4b9d4d472e2b3a324c2f /cipher-3des1.c
parent79d078e7a49caef746516d9710ec369ba45feab6 (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-3des1.c')
-rw-r--r--cipher-3des1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher-3des1.c b/cipher-3des1.c
index 6a0f1f37..9fcc2785 100644
--- a/cipher-3des1.c
+++ b/cipher-3des1.c
@@ -20,6 +20,8 @@
#include "includes.h"
+#ifdef WITH_SSH1
+
#include <sys/types.h>
#include <string.h>
#include <openssl/evp.h>
@@ -153,3 +155,4 @@ evp_ssh1_3des(void)
ssh1_3des.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH;
return &ssh1_3des;
}
+#endif /* WITH_SSH1 */