summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-15 20:33:12 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-15 20:33:12 +0700
commit4824d47677c08641fb3703db28607488f7f1c0bf (patch)
treeecb1dd11ce7bc81176ff1fae9f5dc6ac264f1716 /crypto
parentBlocking zero-byte Read for TlsStream (diff)
downloadBouncyCastle.NET-ed25519-4824d47677c08641fb3703db28607488f7f1c0bf.tar.xz
Fix spelling
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/crypto/BufferedAsymmetricBlockCipher.cs4
1 files changed, 2 insertions, 2 deletions
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;