Skip to content

Commit

Permalink
Restore vbuf value after modification
Browse files Browse the repository at this point in the history
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
  • Loading branch information
wernerlewis committed Sep 20, 2022
1 parent 9a3463c commit 2b984de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/suites/test_suite_ecp.function
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,7 @@ void mbedtls_ecp_group_metadata( int id, int bit_size, int crv_type,
TEST_EQUAL( mbedtls_ecp_tls_read_group_id( &read_g_id, &vbuf, olen ),
0 );
TEST_EQUAL( read_g_id, id );
vbuf = buf;
TEST_EQUAL( mbedtls_ecp_tls_read_group( &grp_read, &vbuf, olen ),
0 );
TEST_EQUAL( grp_read.id, id );
Expand Down

0 comments on commit 2b984de

Please sign in to comment.