Fixup debug.h and ssl_internal.h: Add missing include of ecdh.h

Previously, this wasn't necessary because ecdh.h was included
through ssl.h, but now that this is no longer the case (because
ssl.h doesn't use ECDH), we have to include it explicitly.
This commit is contained in:
Hanno Becker
2019-09-04 16:19:49 +01:00
parent 82a7a21982
commit 1b82685dc9
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -36,6 +36,10 @@
#include "ecp.h"
#endif
#if defined(MBEDTLS_ECDH_C)
#include "ecdh.h"
#endif
#if defined(MBEDTLS_DEBUG_C)
#define MBEDTLS_DEBUG_STRIP_PARENS( ... ) __VA_ARGS__
+8
View File
@@ -54,6 +54,14 @@
#include "ecjpake.h"
#endif
#if defined(MBEDTLS_ECP_C)
#include "ecp.h"
#endif
#if defined(MBEDTLS_ECDH_C)
#include "ecdh.h"
#endif
#if defined(MBEDTLS_USE_TINYCRYPT)
#include "tinycrypt/ecc.h"
#include "tinycrypt/ecc_dh.h"