aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-02-06 14:36:25 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-02-06 14:36:25 +0100
commit05792d69363fb90dc11d763d540da8ec78e7ff41 (patch)
tree2eba62d18dddb10ce2a81008d90fc5a2e85d2070
parent2a15e594efa8a7e84cac7f4579afc0bd90f2bf11 (diff)
md5: use axTLS's own MD5 functions when available
-rw-r--r--lib/md5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 3738d7a02..8ac1f6bc2 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -157,6 +157,9 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx)
CryptReleaseContext(ctx->hCryptProv, 0);
}
+#elif defined(USE_AXTLS)
+#include <axTLS/os_int.h>
+#include <axTLS/crypto.h>
#else
/* When no other crypto library is available we use this code segment */
/*