Matches the warning given for Cipher.doFinal goes out of bounds. 'Rsa Padding error' is not a possible warning.

pull/9/head
Aaron Jense 2018-06-26 10:53:54 -06:00
parent b1866b3577
commit 7f1737f622
1 changed files with 1 additions and 1 deletions

View File

@ -1158,7 +1158,7 @@ public class WolfCryptCipherTest {
fail("Cipher.doFinal should throw exception when data is larger " +
"than RSA key size");
} catch (WolfCryptException e) {
assertEquals("Rsa Padding error", e.getMessage());
assertEquals("Ciphertext to decrypt is out of range", e.getMessage());
}
}