mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-02 14:57:22 +00:00
Fix copy paste error in the error message of mbedtls_ecp_gen_key in gen_key.c
This commit is contained in:
@@ -339,7 +339,7 @@ int main( int argc, char *argv[] )
|
|||||||
mbedtls_ctr_drbg_random, &ctr_drbg );
|
mbedtls_ctr_drbg_random, &ctr_drbg );
|
||||||
if( ret != 0 )
|
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;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user