Don't unconditionally include ecp.h in ssl.h
Remark: Including ecp.h is actually redundant because it's
also included from ecdh.h. However, it's good practice to
explicitly include header files that are being used directly,
and ssl.h does use MBEDTLS_ECP_MAX_BYTES which is defined in ecp.h.
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index 6660346..a23003c 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -31,7 +31,6 @@
#endif
#include "bignum.h"
-#include "ecp.h"
#if defined(MBEDTLS_X509_CRT_PARSE_C)
#include "x509_crt.h"
@@ -43,6 +42,7 @@
#endif
#if defined(MBEDTLS_ECDH_C)
+#include "ecp.h"
#include "ecdh.h"
#endif