summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2016-02-13 17:05:00 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2016-02-13 17:05:00 +1100
commita6c3c8ba48122337127b90364baf7f0e28d11891 (patch)
tree555ac4bdb9112830a3077fd85d7e02b76df57466 /crypto/src
parentAdded support for repeated requests for output to Xof. (diff)
downloadBouncyCastle.NET-ed25519-a6c3c8ba48122337127b90364baf7f0e28d11891.tar.xz
fixed sign on BigInteger creation
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/signers/X931Signer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/signers/X931Signer.cs b/crypto/src/crypto/signers/X931Signer.cs
index 36483fe17..c6e44bad8 100644
--- a/crypto/src/crypto/signers/X931Signer.cs
+++ b/crypto/src/crypto/signers/X931Signer.cs
@@ -190,7 +190,7 @@ namespace Org.BouncyCastle.Crypto.Signers
                 return false;
             }
 
-            BigInteger t = new BigInteger(block);
+            BigInteger t = new BigInteger(1, block);
             BigInteger f;
 
             if ((t.IntValue & 15) == 12)