From ba3292784635dc3f06070e4c99c01ed630818940 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 16 Sep 2018 16:21:56 +0700 Subject: Fixed Rfc3211WrapEngine processing of messages over 127 bytes. --- crypto/test/src/crypto/test/RFC3211WrapTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test') 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"); } -- cgit 1.5.1