opnsense-ports/devel/doxygen/files/patch-md5-dirdef
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
550 B
Text

--- src/dirdef.cpp-orig 2014-06-11 20:11:16.000000000 +0200
+++ src/dirdef.cpp 2014-06-11 20:11:59.000000000 +0200
@@ -1,3 +1,4 @@
+#include <sys/types.h>
#include "md5.h"
#include "dirdef.h"
@@ -83,10 +84,8 @@
QCString result;
// convert to md5 hash
- uchar md5_sig[16];
QCString sigStr(33);
- MD5Buffer((const unsigned char *)anchor.data(),anchor.length(),md5_sig);
- MD5SigToString(md5_sig,sigStr.data(),33);
+ MD5Data((const unsigned char *)anchor.data(),anchor.length(),sigStr.data());
return sigStr;
// old algorithm