]> granicus.if.org Git - curl/commitdiff
mbedtls: fix compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Sat, 19 Mar 2016 21:37:21 +0000 (22:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 19 Mar 2016 21:37:21 +0000 (22:37 +0100)
vtls/mbedtls.h:67:36: warning: implicit declaration of function
‘mbedtls_sha256’ [-Wimplicit-function-declaration]

lib/vtls/mbedtls.c

index 7e0760316dd6144f8e22f7ba2a6919de3b58c8e1..f0900a5af3c3e4e2988168b340fff9853521df45 100644 (file)
@@ -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"