aboutsummaryrefslogtreecommitdiffstats
path: root/devel/doxygen/files/patch-md5-membergroup
blob: 189140f5218cd4f693a3b073cc46a98e9b2fcaf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/membergroup.cpp-orig    2014-06-11 20:23:51.000000000 +0200
+++ src/membergroup.cpp 2014-06-11 20:24:25.000000000 +0200
@@ -28,6 +28,7 @@
 #include "docparser.h"
 #include "marshal.h"
 #include "entry.h"
+#include <sys/types.h>
 #include "md5.h"
 
 //static QCString idToName(int id)
@@ -307,12 +308,10 @@
 
 QCString MemberGroup::anchor() const
 {
-  uchar md5_sig[16];
   QCString sigStr(33);
   QCString locHeader = grpHeader;
   if (locHeader.isEmpty()) locHeader="[NOHEADER]";
-  MD5Buffer((const unsigned char *)locHeader.data(),locHeader.length(),md5_sig);
-  MD5SigToString(md5_sig,sigStr.data(),33);
+  MD5Data((const unsigned char *)locHeader.data(),locHeader.length(),sigStr.data());
   return "amgrp"+sigStr;
 }