diff options
Diffstat (limited to 'security/hydra/files/patch-smbnt')
-rw-r--r-- | security/hydra/files/patch-smbnt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/security/hydra/files/patch-smbnt b/security/hydra/files/patch-smbnt new file mode 100644 index 000000000000..e59af5aa7e6d --- /dev/null +++ b/security/hydra/files/patch-smbnt @@ -0,0 +1,32 @@ +--- configure Thu Nov 20 10:45:28 2003 ++++ configure Mon May 3 15:14:26 2004 +@@ -26,5 +26,5 @@ + LIBDIRS=`cat /etc/ld.so.conf 2> /dev/null` + PREFIX=`echo "$1"|sed 's/.*--prefix=//'` +-LIBDES="" ++LIBDES=" " + echo + +--- hydra-smbnt.c Fri Dec 12 03:47:16 2003 ++++ hydra-smbnt.c Mon May 3 15:19:09 2004 +@@ -5,6 +5,7 @@ + } + #else +-#include "md4.h" +-#include <des.h> ++#include <openssl/md4.h> ++#include <openssl/des.h> ++#include <openssl/des_old.h> + + /* +@@ -132,7 +132,7 @@ + unicodePassword[i * 2] = (u_char)pass[i]; + +- MD4Init(&md4Context); +- MD4Update(&md4Context, unicodePassword, mdlen); +- MD4Final(hash, &md4Context); /* Tell MD4 we're done */ ++ MD4_Init(&md4Context); ++ MD4_Update(&md4Context, unicodePassword, mdlen); ++ MD4_Final(hash, &md4Context); /* Tell MD4 we're done */ + } + |