freebsd-ports/security/rainbowcrack/files/patch-HashRoutine.cpp
Wesley Shields ada702800b Bring this port back to life with a new master site, new maintainer, and
some patches to improve functionality.

PR:		ports/125595
Submitted by:	Dax Labrador <semprix@bsdmail.org>
2008-07-23 01:01:58 +00:00

15 lines
521 B
C++

--- ./HashRoutine.cpp.orig 2008-07-22 20:27:54.000000000 -0400
+++ ./HashRoutine.cpp 2008-07-22 20:28:34.000000000 -0400
@@ -18,8 +18,12 @@
// Notice: MIN_HASH_LEN <= nHashLen <= MAX_HASH_LEN
AddHashRoutine("lm", HashLM, 8);
+ AddHashRoutine("ntlm", HashNTLM, 16);
+ AddHashRoutine("md2", HashMD2, 16);
+ AddHashRoutine("md4", HashMD4, 16);
AddHashRoutine("md5", HashMD5, 16);
AddHashRoutine("sha1", HashSHA1, 20);
+ AddHashRoutine("ripemd160", HashRIPEMD160, 20);
}
CHashRoutine::~CHashRoutine()