forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
19 lines
550 B
Text
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
|