Skip to content

Commit 5443d8a

Browse files
committed
Typo.
1 parent 5674e9b commit 5443d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Org.Security.Cryptography.X509Extensions/X509StreamEncryptionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static byte[] ReadLengthAndBytes(this Stream inputStream, int maxBytes)
187187

188188
// Length of data to read.
189189
var length = BitConverter.ToInt32(arrLength, 0);
190-
if (length > maxBytes) throw new Exception($"Unexpected data size {length:#,0} bytes. Expexting not more than {maxBytes:#,0} bytes.");
190+
if (length > maxBytes) throw new Exception($"Unexpected data size {length:#,0} bytes. Expecting not more than {maxBytes:#,0} bytes.");
191191

192192
// Read suggested no of bytes...
193193
var bytes = new byte[length];

0 commit comments

Comments
 (0)