mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
test/ectest: init dh_key - fixing crash
This commit is contained in:
parent
e9fab07064
commit
3cb420dbce
@ -96,6 +96,7 @@ int test_set1(void){
|
||||
mbedtls_ecp_point_init( &Pb );
|
||||
mbedtls_mpi_init(&da);
|
||||
mbedtls_mpi_init(&db);
|
||||
mbedtls_mpi_init(&dh_key);
|
||||
|
||||
int res = mbedtls_ecp_group_load(&grp, MBEDTLS_ECP_DP_SECP256R1);
|
||||
if (res) {
|
||||
|
Loading…
Reference in New Issue
Block a user