mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 19:38:31 +00:00
bcrypt/tests: Don't allocate inside todo_wine and free outside of it.
Fixes a warning on GCC 13.
This commit is contained in:
parent
870a9fcb4c
commit
36cf952664
|
@ -2492,8 +2492,8 @@ static void test_rsa_encrypt(void)
|
|||
decrypted = malloc(decrypted_size);
|
||||
BCryptDecrypt(key, encrypted_a, encrypted_size, &oaep_pad, NULL, 0, decrypted, decrypted_size, &decrypted_size, BCRYPT_PAD_OAEP);
|
||||
ok(!memcmp(decrypted, input, sizeof(input)), "Decrypted output it's not what expected\n");
|
||||
}
|
||||
free(decrypted);
|
||||
}
|
||||
|
||||
free(encrypted_a);
|
||||
free(encrypted_b);
|
||||
|
|
Loading…
Reference in a new issue