mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-09-04 03:22:10 +03:00
Add initialization for structures
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@@ -57,6 +57,9 @@ void ecp_invalid_param( )
|
|||||||
mbedtls_ecp_restart_ctx restart_ctx;
|
mbedtls_ecp_restart_ctx restart_ctx;
|
||||||
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
||||||
|
|
||||||
|
mbedtls_ecp_group_init( &grp );
|
||||||
|
mbedtls_ecp_point_init( &P );
|
||||||
|
|
||||||
TEST_INVALID_PARAM( mbedtls_ecp_point_init( NULL ) );
|
TEST_INVALID_PARAM( mbedtls_ecp_point_init( NULL ) );
|
||||||
TEST_INVALID_PARAM( mbedtls_ecp_keypair_init( NULL ) );
|
TEST_INVALID_PARAM( mbedtls_ecp_keypair_init( NULL ) );
|
||||||
TEST_INVALID_PARAM( mbedtls_ecp_group_init( NULL ) );
|
TEST_INVALID_PARAM( mbedtls_ecp_group_init( NULL ) );
|
||||||
|
Reference in New Issue
Block a user