summaryrefslogtreecommitdiff
path: root/lib/md5.c
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 /lib/md5.c
parent2a15e594efa8a7e84cac7f4579afc0bd90f2bf11 (diff)
downloadcurl-05792d69363fb90dc11d763d540da8ec78e7ff41.tar.gz
md5: use axTLS's own MD5 functions when available
Diffstat (limited to 'lib/md5.c')
-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 */
/*