mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 03:35:39 +01:00
Fix free_named_data_list tests
Fix copypasta in test data and fix a switcho in test code.
This commit is contained in:
parent
dc2db4832d
commit
88f136f98b
@ -432,7 +432,7 @@ Free named data list (empty)
|
||||
free_named_data_list:0
|
||||
|
||||
Free named data list (1)
|
||||
free_named_data_list:0
|
||||
free_named_data_list:1
|
||||
|
||||
Free named data list (2)
|
||||
free_named_data_list:0
|
||||
free_named_data_list:2
|
||||
|
@ -547,7 +547,7 @@ void free_named_data_list( int length )
|
||||
{
|
||||
mbedtls_asn1_named_data *new = NULL;
|
||||
ASSERT_ALLOC( new, sizeof( mbedtls_asn1_named_data ) );
|
||||
head->next = new;
|
||||
new->next = head;
|
||||
head = new;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user