diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index 3b7fd67ea3..ef6484810d 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -566,6 +566,7 @@ int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; (void) data; + int ret; ret = mbedtls_entropy_func( data, output, len ); for ( i = 0; i < len; i++ ) diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index e4c992febf..b19d8be7c3 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -678,6 +678,7 @@ int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; (void) data; + int ret; ret = mbedtls_entropy_func( data, output, len ); for (i = 0; i < len; i++ ) {