mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
rsaenh/tests: Fix length of copied buffer.
This commit is contained in:
parent
574de15f51
commit
9369dfbab6
@ -459,7 +459,7 @@ static void test_block_cipher_modes(void)
|
||||
result = derive_key(CALG_RC2, &hKey, 40);
|
||||
if (!result) return;
|
||||
|
||||
memcpy(abData, plain, sizeof(abData));
|
||||
memcpy(abData, plain, sizeof(plain));
|
||||
|
||||
dwMode = CRYPT_MODE_ECB;
|
||||
result = CryptSetKeyParam(hKey, KP_MODE, (BYTE*)&dwMode, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user