fixed readWriteIvChanged unit test to match new behaviour of newIv.

This commit is contained in:
Nick Bolton 2013-04-11 23:45:55 +00:00
parent 607f8c9321
commit bb3dd1611c

View File

@ -220,6 +220,7 @@ TEST(CCryptoTests, readWriteIvChanged)
// ensure that the new IV is used.
byte iv[CRYPTO_IV_SIZE];
cs1.newIv(iv);
cs1.setIv(iv);
cs2.setIv(iv);
cs1.write(bufferIn, 4);