rsaenh/tests: Fix length of copied buffer.

This commit is contained in:
Juan Lang 2009-11-11 13:38:17 -08:00 committed by Alexandre Julliard
parent 574de15f51
commit 9369dfbab6

View File

@ -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);