diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-20 10:56:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-20 10:56:42 +0700 |
commit | d14a74e10b032251a33049535cc2b70e94ce48f1 (patch) | |
tree | df2fc7c7d19e6b19e3fb6c413a7e96b1bf2e6677 /crypto | |
parent | Handle COORD_SKEWED too (diff) | |
download | BouncyCastle.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.cs | 2 |
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 |