summary refs log tree commit diff
path: root/crypto/src/bcpg
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-09-18 21:16:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-09-18 21:16:28 +0700
commit92c99a5571303e4aa46dc730f45ae2e34db769f1 (patch)
treec62203d765ed2f893736afe2df1cbcb587a7102e /crypto/src/bcpg
parentAdd missing default and improve extensions handling (diff)
downloadBouncyCastle.NET-ed25519-92c99a5571303e4aa46dc730f45ae2e34db769f1.tar.xz
Code cleanup (from Java build)
Diffstat (limited to 'crypto/src/bcpg')
-rw-r--r--crypto/src/bcpg/ECPublicBCPGKey.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/bcpg/ECPublicBCPGKey.cs b/crypto/src/bcpg/ECPublicBCPGKey.cs
index f328f9dc3..c473139e7 100644
--- a/crypto/src/bcpg/ECPublicBCPGKey.cs
+++ b/crypto/src/bcpg/ECPublicBCPGKey.cs
@@ -26,7 +26,7 @@ namespace Org.BouncyCastle.Bcpg
             DerObjectIdentifier oid,
             ECPoint point)
         {
-            this.point = new BigInteger(1, point.GetEncoded());
+            this.point = new BigInteger(1, point.GetEncoded(false));
             this.oid = oid;
         }