From 4824d47677c08641fb3703db28607488f7f1c0bf Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 15 May 2022 20:33:12 +0700 Subject: Fix spelling --- crypto/src/crypto/BufferedAsymmetricBlockCipher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/src/crypto/BufferedAsymmetricBlockCipher.cs b/crypto/src/crypto/BufferedAsymmetricBlockCipher.cs index 09ec59f69..bf00f3ece 100644 --- a/crypto/src/crypto/BufferedAsymmetricBlockCipher.cs +++ b/crypto/src/crypto/BufferedAsymmetricBlockCipher.cs @@ -87,7 +87,7 @@ namespace Org.BouncyCastle.Crypto byte input) { if (bufOff >= buffer.Length) - throw new DataLengthException("attempt to process message to long for cipher"); + throw new DataLengthException("attempt to process message too long for cipher"); buffer[bufOff++] = input; return null; @@ -104,7 +104,7 @@ namespace Org.BouncyCastle.Crypto if (input == null) throw new ArgumentNullException("input"); if (bufOff + length > buffer.Length) - throw new DataLengthException("attempt to process message to long for cipher"); + throw new DataLengthException("attempt to process message too long for cipher"); Array.Copy(input, inOff, buffer, bufOff, length); bufOff += length; -- cgit 1.4.1