diff options
Diffstat (limited to 'cipher-bf1.c')
-rw-r--r-- | cipher-bf1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cipher-bf1.c b/cipher-bf1.c index 64578bae8..5af695c17 100644 --- a/cipher-bf1.c +++ b/cipher-bf1.c | |||
@@ -28,6 +28,11 @@ RCSID("$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $"); | |||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | #include "xmalloc.h" | 29 | #include "xmalloc.h" |
30 | #include "log.h" | 30 | #include "log.h" |
31 | |||
32 | #if OPENSSL_VERSION_NUMBER < 0x00906000L | ||
33 | #define SSH_OLD_EVP | ||
34 | #endif | ||
35 | |||
31 | /* | 36 | /* |
32 | * SSH1 uses a variation on Blowfish, all bytes must be swapped before | 37 | * SSH1 uses a variation on Blowfish, all bytes must be swapped before |
33 | * and after encryption/decryption. Thus the swap_bytes stuff (yuk). | 38 | * and after encryption/decryption. Thus the swap_bytes stuff (yuk). |