diff options
author | David Hook <dgh@cryptoworkshop.com> | 2016-02-13 17:05:00 +1100 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2016-02-13 17:05:00 +1100 |
commit | a6c3c8ba48122337127b90364baf7f0e28d11891 (patch) | |
tree | 555ac4bdb9112830a3077fd85d7e02b76df57466 /crypto/src | |
parent | Added support for repeated requests for output to Xof. (diff) | |
download | BouncyCastle.NET-ed25519-a6c3c8ba48122337127b90364baf7f0e28d11891.tar.xz |
fixed sign on BigInteger creation
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/crypto/signers/X931Signer.cs | 2 |
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) |