diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-01-21 16:37:54 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-01-21 16:37:54 +0000 |
commit | 1db8c76e0e5d6126400d3d2278118b8a2c1f816c (patch) | |
tree | a3271b8848ce2ed9e926cf80b7d9f98f577294e4 /devel/doxygen/files/patch-md5-util | |
parent | Update to 2.2.7 (diff) |
Update to 1.8.9.1
PR: 196841
Submitted by: maintainer
Mini exp-run: self
Notes
Notes:
svn path=/head/; revision=377617
Diffstat (limited to 'devel/doxygen/files/patch-md5-util')
-rw-r--r-- | devel/doxygen/files/patch-md5-util | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/doxygen/files/patch-md5-util b/devel/doxygen/files/patch-md5-util index 764a835e29fd..e9c962a5a8e8 100644 --- a/devel/doxygen/files/patch-md5-util +++ b/devel/doxygen/files/patch-md5-util @@ -1,5 +1,5 @@ ---- src/util.cpp-orig 2014-06-11 20:24:54.000000000 +0200 -+++ src/util.cpp 2014-06-11 20:26:48.000000000 +0200 +--- src/util.cpp.orig 2015-01-03 22:45:44 UTC ++++ src/util.cpp @@ -19,6 +19,7 @@ #include <errno.h> #include <math.h> @@ -8,15 +8,15 @@ #include "md5.h" #include <qregexp.h> -@@ -5283,16 +5284,16 @@ +@@ -5335,16 +5336,16 @@ QCString convertNameToFile(const char *n if (resultLen>=128) // prevent names that cannot be created! { // third algorithm based on MD5 hash - uchar md5_sig[16]; QCString sigStr(33); - MD5Buffer((const unsigned char *)result.data(),resultLen,md5_sig); -- MD5SigToString(md5_sig,sigStr.data(),33); -+ MD5Data((const unsigned char *)result.data(),resultLen,sigStr.data()); +- MD5SigToString(md5_sig,sigStr.rawData(),33); ++ MD5Data((const unsigned char *)result.data(),resultLen,sigStr.rawData()); result=result.left(128-32)+sigStr; } } @@ -28,7 +28,7 @@ #if MAP_ALGO==ALGO_COUNT // old algorithm, has the problem that after regeneration the -@@ -5323,12 +5324,13 @@ +@@ -5375,12 +5376,13 @@ QCString convertNameToFile(const char *n l2Dir = (dirNum>>4)&0xff; #elif MAP_ALGO==ALGO_MD5 // third algorithm based on MD5 hash |