mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 16:55:43 +01:00
Do no test net_usleep() when not defined
This commit is contained in:
parent
a39416ff38
commit
462906f955
@ -7,6 +7,8 @@ Bugfix
|
|||||||
* Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
|
* Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
|
||||||
* Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
* Don't print uninitialised buffer in ssl_mail_client (found by Marc Abel).
|
||||||
* Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
|
* Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
|
||||||
|
* Fix compile error in timing.c when POLARSSL_NET_C and POLARSSL_SELFTEST
|
||||||
|
are defined but not POLARSSL_HAVE_TIME (found by Stephane Di Vito).
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
|
* Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
|
||||||
|
@ -333,7 +333,7 @@ void m_sleep( int milliseconds )
|
|||||||
#if defined(POLARSSL_SELF_TEST)
|
#if defined(POLARSSL_SELF_TEST)
|
||||||
|
|
||||||
/* To test net_usleep against our functions */
|
/* To test net_usleep against our functions */
|
||||||
#if defined(POLARSSL_NET_C)
|
#if defined(POLARSSL_NET_C) && defined(POLARSSL_HAVE_TIME)
|
||||||
#include "polarssl/net.h"
|
#include "polarssl/net.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -465,7 +465,7 @@ hard_test:
|
|||||||
if( verbose != 0 )
|
if( verbose != 0 )
|
||||||
polarssl_printf( "passed\n" );
|
polarssl_printf( "passed\n" );
|
||||||
|
|
||||||
#if defined(POLARSSL_NET_C)
|
#if defined(POLARSSL_NET_C) && defined(POLARSSL_HAVE_TIME)
|
||||||
if( verbose != 0 )
|
if( verbose != 0 )
|
||||||
polarssl_printf( " TIMING test #4 (net_usleep/ get_timer): " );
|
polarssl_printf( " TIMING test #4 (net_usleep/ get_timer): " );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user