mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 08:43:02 +00:00
SSL Test and Benchmark now handle missing POLARSSL_TIMING_C
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
#define BUFSIZE 1024
|
||||
#define HEADER_FORMAT " %-15s : "
|
||||
|
||||
#if defined(POLARSSL_TIMING_C)
|
||||
static int myrand( void *rng_state, unsigned char *output, size_t len )
|
||||
{
|
||||
size_t use_len;
|
||||
@@ -77,6 +78,7 @@ static int myrand( void *rng_state, unsigned char *output, size_t len )
|
||||
}
|
||||
|
||||
unsigned char buf[BUFSIZE];
|
||||
#endif
|
||||
|
||||
#if !defined(POLARSSL_TIMING_C)
|
||||
int main( int argc, char *argv[] )
|
||||
|
||||
Reference in New Issue
Block a user