mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-03 18:51:10 +00:00
Add missing MBEDTLS_ECP_C dependency
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
9cb14d4ce2
commit
96bf3d13f3
|
@ -937,8 +937,12 @@ int mbedtls_endpoint_init( mbedtls_endpoint *ep, int endpoint_type, int pk_alg,
|
|||
MBEDTLS_SSL_PRESET_DEFAULT );
|
||||
TEST_ASSERT( ret == 0 );
|
||||
|
||||
#if defined(MBEDTLS_ECP_C)
|
||||
if( curves != NULL )
|
||||
mbedtls_ssl_conf_curves( &(ep->conf), curves );
|
||||
#else
|
||||
(void) curves;
|
||||
#endif
|
||||
|
||||
ret = mbedtls_ssl_setup( &( ep->ssl ), &( ep->conf ) );
|
||||
TEST_ASSERT( ret == 0 );
|
||||
|
|
Loading…
Reference in a new issue