Fix merge issue from 1.3 branch

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-04 15:03:50 +02:00
parent e36d56419e
commit 9f145de4dc

View File

@ -145,7 +145,7 @@ int mbedtls_platform_entropy_poll( void *data,
int ret;
if( ( ret = getrandom_wrapper( output, len, 0 ) ) < 0 )
return( POLARSSL_ERR_ENTROPY_SOURCE_FAILED );
return( MBEDTLS_ERR_ENTROPY_SOURCE_FAILED );
*olen = ret;
return( 0 );