Adds missing ret definition
This commit is contained in:
parent
f91b3722cf
commit
12e85de964
2 changed files with 2 additions and 0 deletions
|
@ -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++ )
|
||||||
|
|
|
@ -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++ ) {
|
||||||
|
|
Loading…
Reference in a new issue