Rename md_info_t to md_handle_t in test_suite_entropy

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-05-19 05:56:05 -04:00
parent 731d7c0dcc
commit e861e704c0
No known key found for this signature in database
GPG key ID: 89A90840DC388527

View file

@ -306,10 +306,10 @@ void entropy_nv_seed_std_io( )
void entropy_nv_seed( data_t * read_seed )
{
#if defined(MBEDTLS_ENTROPY_SHA512_ACCUMULATOR)
const mbedtls_md_info_t *md_info =
const mbedtls_md_handle_t md_info =
mbedtls_md_info_from_type( MBEDTLS_MD_SHA512 );
#elif defined(MBEDTLS_ENTROPY_SHA256_ACCUMULATOR)
const mbedtls_md_info_t *md_info =
const mbedtls_md_handle_t md_info =
mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 );
#else
#error "Unsupported entropy accumulator"