]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mbedtls: remove #include <mbedtls/certs.h>
authorMAntoniak <47522782+MAntoniak@users.noreply.github.com>
Fri, 28 Jan 2022 12:45:30 +0000 (13:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Jan 2022 15:01:28 +0000 (16:01 +0100)
mbedtls/certs.h file contains only certificates example (all definitions
is beginning by mbedtls_test_*). None of them is used so we can avoid
include the file.

Closes #8343

lib/vtls/mbedtls.c

index 423959f3bfdab8be702a487cf70465652f41fefd..4a5860892da39cd2a1e86e6ddba34f08489f2958 100644 (file)
@@ -41,9 +41,6 @@
 #include <mbedtls/net.h>
 #endif
 #include <mbedtls/ssl.h>
-#if MBEDTLS_VERSION_NUMBER < 0x03000000
-#include <mbedtls/certs.h>
-#endif
 #include <mbedtls/x509.h>
 
 #include <mbedtls/error.h>