summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-28 16:58:37 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-28 16:58:37 +0000
commit0c7a0274caf00cc36ae6dc281b7c0260cdad28d7 (patch)
tree152f1c086a6e051fab7f9403d2bd677e92857059
parentf3a4a20750d2aeadc1cc798252f7d3237a37fbc9 (diff)
Fixed build.
-rw-r--r--src/htsmd5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htsmd5.c b/src/htsmd5.c
index 84399be..59b3e17 100644
--- a/src/htsmd5.c
+++ b/src/htsmd5.c
@@ -43,6 +43,7 @@ Please visit our Website: http://www.httrack.com
#include <stdlib.h>
#include "htsmd5.h"
#include "md5.h"
+#include "htssafe.h"
int domd5mem(const char *buf, size_t len, char *digest, int asAscii) {
int endian = 1;
@@ -90,6 +91,7 @@ void md5selftest() {
if (strcmp(digest, VARMD) != 0) { \
fprintf(stderr, "error: md5 selftest failed: '%s' => '%s'\n", \
VAR, digest); \
+ assertf(! "md5 selftest failed"); \
} \
} while(0)
MDCHECK(str1, str1m);