summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-09-16 16:21:56 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-09-16 16:21:56 +0700
commitba3292784635dc3f06070e4c99c01ed630818940 (patch)
tree7a4c19ad7d721c4c5a9c1e8924fc0a6bc2c199ea /crypto/test
parentReduce single-bit extractions from scalars (diff)
downloadBouncyCastle.NET-ed25519-ba3292784635dc3f06070e4c99c01ed630818940.tar.xz
Fixed Rfc3211WrapEngine processing of messages over 127 bytes.
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/test/RFC3211WrapTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/crypto/test/RFC3211WrapTest.cs b/crypto/test/src/crypto/test/RFC3211WrapTest.cs
index bdef7c999..91dea34dd 100644
--- a/crypto/test/src/crypto/test/RFC3211WrapTest.cs
+++ b/crypto/test/src/crypto/test/RFC3211WrapTest.cs
@@ -115,7 +115,7 @@ namespace Org.BouncyCastle.Crypto.Tests
 			}
 			catch (InvalidCipherTextException e)
 			{
-				if (!e.Message.Equals("wrapped key fails checksum"))
+                if (!e.Message.Equals("wrapped key corrupted"))
 				{
 					Fail("wrong exception");
 				}