--- src/membergroup.cpp.orig 2021-08-02 18:54:15 UTC +++ src/membergroup.cpp @@ -27,6 +27,7 @@ #include "doxygen.h" #include "docparser.h" #include "entry.h" +#include #include "md5.h" MemberGroup::MemberGroup(const Definition *container,int id,const QCString &hdr, @@ -257,12 +258,10 @@ int MemberGroup::numDocEnumValues() const QCString MemberGroup::anchor() const { - uchar md5_sig[16]; - char sigStr[33]; + 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); + MD5Data((const unsigned char *)locHeader.data(),locHeader.length(),sigStr.rawData()); return QCString("amgrp")+sigStr; }