diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-15 20:33:12 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-05-15 20:33:12 +0700 |
commit | 4824d47677c08641fb3703db28607488f7f1c0bf (patch) | |
tree | ecb1dd11ce7bc81176ff1fae9f5dc6ac264f1716 | |
parent | Blocking zero-byte Read for TlsStream (diff) | |
download | BouncyCastle.NET-ed25519-4824d47677c08641fb3703db28607488f7f1c0bf.tar.xz |
Fix spelling
-rw-r--r-- | crypto/src/crypto/BufferedAsymmetricBlockCipher.cs | 4 |
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; |