]> granicus.if.org Git - curl/commitdiff
md5: use axTLS's own MD5 functions when available
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Feb 2015 13:36:25 +0000 (14:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Feb 2015 13:36:25 +0000 (14:36 +0100)
lib/md5.c

index 3738d7a02fe5f8fce6886b80d80bb294ced1e82b..8ac1f6bc2fb866d4680074fe714e943684c7738c 100644 (file)
--- 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 */
 /*