mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 22:07:49 +00:00
Fixup: Correct inclusion of legacy ECP headers in ssl.h
Previously, ecp.h was included only if MBEDTLS_ECDH_C was set, which broke the build in configurations using ECDSA, but not ECDH. An example of such a config is configs/config-thread.h, which uses ECJPAKE exclusively. Moreover, the inclusion of ecdh.h isn't needed, because the header only uses constants defined in the ECP module.
This commit is contained in:
parent
a007e0db47
commit
82a7a21982
|
@ -41,9 +41,8 @@
|
||||||
#include "dhm.h"
|
#include "dhm.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECDH_C)
|
#if defined(MBEDTLS_ECP_C)
|
||||||
#include "ecp.h"
|
#include "ecp.h"
|
||||||
#include "ecdh.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_USE_TINYCRYPT)
|
#if defined(MBEDTLS_USE_TINYCRYPT)
|
||||||
|
|
Loading…
Reference in a new issue