Skip to content

Commit 9bd5ef1

Browse files
author
gefeili
committed
Roll back changes in ElephantTest
1 parent 1320840 commit 9bd5ef1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/test/java/org/bouncycastle/crypto/test/ElephantTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private void testExceptions(AEADCipher aeadBlockCipher, int keysize, int ivsize,
403403
aeadBlockCipher.doFinal(c8, offset);
404404

405405
// random split for several times
406-
for (int split = 25; split < blocksize * 3; ++split)
406+
for (int split = 0; split < blocksize * 3; ++split)
407407
{
408408
aeadBlockCipher.init(true, params);
409409
aeadBlockCipher.processAADBytes(aad2, 0, aad2.length);
@@ -446,7 +446,5 @@ public static void main(String[] args)
446446
{
447447
runTest(new ElephantTest());
448448
}
449-
450-
451449
}
452450

0 commit comments

Comments
 (0)