summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-20 10:56:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-20 10:56:42 +0700
commitd14a74e10b032251a33049535cc2b70e94ce48f1 (patch)
treedf2fc7c7d19e6b19e3fb6c413a7e96b1bf2e6677 /crypto
parentHandle COORD_SKEWED too (diff)
downloadBouncyCastle.NET-ed25519-d14a74e10b032251a33049535cc2b70e94ce48f1.tar.xz
Don't reveal the output size in exception message
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/crypto/digests/SkeinEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/digests/SkeinEngine.cs b/crypto/src/crypto/digests/SkeinEngine.cs
index 7e93138ac..cfedfadf3 100644
--- a/crypto/src/crypto/digests/SkeinEngine.cs
+++ b/crypto/src/crypto/digests/SkeinEngine.cs
@@ -741,7 +741,7 @@ namespace Org.BouncyCastle.Crypto.Digests
             CheckInitialised();
             if (outBytes.Length < (outOff + outputSizeBytes))
             {
-                throw new DataLengthException("Output buffer is too short to hold output of " + outputSizeBytes + " bytes");
+                throw new DataLengthException("Output buffer is too short to hold output");
             }
 
             // Finalise message block