$Id$ --- dsniff-2.4.orig/sshcrypto.c 2001-03-15 09:33:04.000000000 +0100 +++ dsniff-2.4/sshcrypto.c 2009-05-09 23:13:59.000000000 +0200 @@ -14,6 +14,10 @@ #include #include +#ifndef OPENSSL_NO_BF +#include +#endif +#include #include #include @@ -21,10 +25,12 @@ #include "sshcrypto.h" +#ifndef OPENSSL_NO_BF struct blowfish_state { struct bf_key_st key; u_char iv[8]; }; +#endif struct des3_state { des_key_schedule k1, k2, k3; @@ -106,6 +112,7 @@ swap_bytes(const u_char *src, u_char *ds } } +#ifndef OPENSSL_NO_BF void * blowfish_init(u_char *sesskey, int len) { @@ -143,6 +150,7 @@ blowfish_decrypt(u_char *src, u_char *ds BF_DECRYPT); swap_bytes(dst, dst, len); } +#endif /* XXX - SSH1's weirdo 3DES... */ void *