Commit 36cf9526 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

bcrypt/tests: Don't allocate inside todo_wine and free outside of it.

Fixes a warning on GCC 13.
parent 870a9fcb
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment