Avoid unused-variable warnings in some configurations

This commit is contained in:
Gilles Peskine 2018-12-20 12:26:16 +01:00
parent d6027119be
commit 88ca3a244e

View File

@ -207,6 +207,9 @@ void invalid_parameters( )
mbedtls_md_type_t valid_md = MBEDTLS_MD_SHA256; mbedtls_md_type_t valid_md = MBEDTLS_MD_SHA256;
void *options = buf; void *options = buf;
(void) null_buf;
(void) p;
mbedtls_pk_init( &pk ); mbedtls_pk_init( &pk );
TEST_INVALID_PARAM( mbedtls_pk_init( NULL ) ); TEST_INVALID_PARAM( mbedtls_pk_init( NULL ) );