mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 14:25:36 +01:00
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.
This commit is contained in:
parent
728a38b40d
commit
6cf97b7fc6
@ -31,7 +31,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
#include "ecp.h"
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||||
#include "x509_crt.h"
|
#include "x509_crt.h"
|
||||||
@ -43,6 +42,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECDH_C)
|
#if defined(MBEDTLS_ECDH_C)
|
||||||
|
#include "ecp.h"
|
||||||
#include "ecdh.h"
|
#include "ecdh.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user