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
1 changed files with 1 additions and 0 deletions

View File

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