mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 14:15:28 +00:00
Fix too small buffer in a test
This commit is contained in:
parent
0efa8567d8
commit
b46f1bd451
|
@ -5,7 +5,7 @@ static int load_public_key( int grp_id, const char *point_str,
|
|||
mbedtls_ecp_keypair *ecp )
|
||||
{
|
||||
int ok = 0;
|
||||
unsigned char point_buf[MBEDTLS_ECP_MAX_BYTES];
|
||||
unsigned char point_buf[MBEDTLS_ECP_MAX_PT_LEN];
|
||||
size_t point_len = unhexify( point_buf, point_str );
|
||||
|
||||
TEST_ASSERT( mbedtls_ecp_group_load( &ecp->grp, grp_id ) == 0 );
|
||||
|
|
Loading…
Reference in a new issue