Fix copy paste error in the error message of mbedtls_ecp_gen_key in gen_key.c

This commit is contained in:
Chris Xue 2017-11-05 19:10:51 +00:00
parent 005939db98
commit 9a51c032ee

View File

@ -339,7 +339,7 @@ int main( int argc, char *argv[] )
mbedtls_ctr_drbg_random, &ctr_drbg );
if( ret != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_rsa_gen_key returned -0x%04x", -ret );
mbedtls_printf( " failed\n ! mbedtls_ecp_gen_key returned -0x%04x", -ret );
goto exit;
}
}