summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-03-19 22:37:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-03-19 22:37:21 +0100
commit80851028efc2fa9554ea289c2aea58eb9d46a7a7 (patch)
tree0f2ccce1eee872c6a74f348945e8839408430994
parent4ff5cfd5fa5f4bce90852efef1c5f28995171108 (diff)
downloadcurl-80851028efc2fa9554ea289c2aea58eb9d46a7a7.tar.gz
mbedtls: fix compiler warning
vtls/mbedtls.h:67:36: warning: implicit declaration of function ‘mbedtls_sha256’ [-Wimplicit-function-declaration]
-rw-r--r--lib/vtls/mbedtls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c
index 7e0760316..f0900a5af 100644
--- a/lib/vtls/mbedtls.c
+++ b/lib/vtls/mbedtls.c
@@ -40,6 +40,7 @@
#include <mbedtls/error.h>
#include <mbedtls/entropy.h>
#include <mbedtls/ctr_drbg.h>
+#include <mbedtls/sha256.h>
#include "urldata.h"
#include "sendf.h"