mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-11 16:15:56 -04:00
Restore vbuf value after modification
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
9a3463c9b7
commit
2b984dea77
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user