fixed readWriteIvChanged unit test to match new behaviour of newIv.
This commit is contained in:
parent
607f8c9321
commit
bb3dd1611c
|
@ -220,6 +220,7 @@ TEST(CCryptoTests, readWriteIvChanged)
|
||||||
// ensure that the new IV is used.
|
// ensure that the new IV is used.
|
||||||
byte iv[CRYPTO_IV_SIZE];
|
byte iv[CRYPTO_IV_SIZE];
|
||||||
cs1.newIv(iv);
|
cs1.newIv(iv);
|
||||||
|
cs1.setIv(iv);
|
||||||
cs2.setIv(iv);
|
cs2.setIv(iv);
|
||||||
|
|
||||||
cs1.write(bufferIn, 4);
|
cs1.write(bufferIn, 4);
|
||||||
|
|
Loading…
Reference in New Issue