Adds missing ret definition

This commit is contained in:
Philippe Antoine 2019-06-11 16:07:53 +02:00
parent f91b3722cf
commit 12e85de964
2 changed files with 2 additions and 0 deletions

View file

@ -566,6 +566,7 @@ int dummy_entropy( void *data, unsigned char *output, size_t len )
{ {
size_t i; size_t i;
(void) data; (void) data;
int ret;
ret = mbedtls_entropy_func( data, output, len ); ret = mbedtls_entropy_func( data, output, len );
for ( i = 0; i < len; i++ ) for ( i = 0; i < len; i++ )

View file

@ -678,6 +678,7 @@ int dummy_entropy( void *data, unsigned char *output, size_t len )
{ {
size_t i; size_t i;
(void) data; (void) data;
int ret;
ret = mbedtls_entropy_func( data, output, len ); ret = mbedtls_entropy_func( data, output, len );
for (i = 0; i < len; i++ ) { for (i = 0; i < len; i++ ) {