diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-23 22:12:38 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-23 22:12:38 +1000 |
commit | 5c3a55846a87a40d10aaf08123e4101388d22b87 (patch) | |
tree | a45c4d5280d6302b64e7f6565715bb358e62102d /cipher-bf1.c | |
parent | 7ff4e6dbe588aab63f1547e917734730f388aaa4 (diff) |
- (djm) Sync with V_3_7 branch:
- (djm) Fix SSH1 challenge kludge
- (djm) Bug #671: Fix builds on OpenBSD
- (djm) Bug #676: Fix PAM stack corruption
- (djm) Fix bad free() in PAM code
- (djm) Don't call pam_end before pam_init
- (djm) Enable build with old OpenSSL again
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
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). |