diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2004-05-05 20:24:04 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2004-05-05 20:24:04 +0000 |
commit | f905b6fb85301b2114148510d79e2c2f6f1a6760 (patch) | |
tree | b71f7bbc301947c6c389b92a0553153018fe0b87 /security/hydra/files/patch-smbnt | |
parent | - Autodetect GNOME and build applet version (diff) |
Upgrade from 2.6 to 4.0. Declare USE_OPENSSL. Use the OpenSSL's libraries
instead of looking for the obsolete libdes. Use OpenSSL's MD4-functions
instead of compiling Hydra's own md4.c.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=108485
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 */ + } + |