summaryrefslogtreecommitdiff
path: root/cipher-bf1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-09-23 19:24:21 +1000
committerDamien Miller <djm@mindrot.org>2003-09-23 19:24:21 +1000
commite043e8e2211ee07e98f95fe975cca56959eb6c59 (patch)
tree862aceabb43ef9c0ce7400e1ca981033e17df61d /cipher-bf1.c
parent03575cc07de0c67586e56a5e1ee2d3a3ee35300c (diff)
- (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.c5
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).