diff options
Diffstat (limited to 'app-crypt/rainbowcrack/files/rainbowcrack-1.2-share.patch')
-rw-r--r-- | app-crypt/rainbowcrack/files/rainbowcrack-1.2-share.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-crypt/rainbowcrack/files/rainbowcrack-1.2-share.patch b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-share.patch new file mode 100644 index 0000000..2cf75ca --- /dev/null +++ b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-share.patch @@ -0,0 +1,12 @@ +diff -urNp rainbowcrack-1.2-src.org/src/ChainWalkContext.cpp rainbowcrack-1.2-src/src/ChainWalkContext.cpp +--- rainbowcrack-1.2-src.org/src/ChainWalkContext.cpp 2003-11-23 00:33:44.000000000 +0200 ++++ rainbowcrack-1.2-src/src/ChainWalkContext.cpp 2006-11-01 21:05:13.000000000 +0200 +@@ -58,7 +58,7 @@ bool CChainWalkContext::LoadCharset(stri + }
+
+ vector<string> vLine;
+- if (ReadLinesFromFile("charset.txt", vLine))
++ if (ReadLinesFromFile("charset.txt", vLine) || ReadLinesFromFile("@@SHARE@@/charset.txt", vLine))
+ {
+ int i;
+ for (i = 0; i < vLine.size(); i++)
|