summary refs log tree commit diff
path: root/crypto/src/math/ec/ECFieldElement.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-21 15:38:03 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-21 15:38:03 +0700
commit408f10c7d0a6b906891cee6614e8b63ef2a1cf0f (patch)
treeb23fb6e4c28679e9fd251ae18f11c65ecd5bb47b /crypto/src/math/ec/ECFieldElement.cs
parentMerge branch 'master' of git.bouncycastle.org:bc-csharp (diff)
downloadBouncyCastle.NET-ed25519-408f10c7d0a6b906891cee6614e8b63ef2a1cf0f.tar.xz
Make typed Equals methods public (and virtual)
Diffstat (limited to '')
-rw-r--r--crypto/src/math/ec/ECFieldElement.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/math/ec/ECFieldElement.cs b/crypto/src/math/ec/ECFieldElement.cs
index 180f97fd5..cc5050002 100644
--- a/crypto/src/math/ec/ECFieldElement.cs
+++ b/crypto/src/math/ec/ECFieldElement.cs
@@ -53,7 +53,7 @@ namespace Org.BouncyCastle.Math.EC
             return Equals(other);
         }
 
-        protected virtual bool Equals(
+        public virtual bool Equals(
             ECFieldElement other)
         {
             return ToBigInteger().Equals(other.ToBigInteger());
@@ -379,7 +379,7 @@ namespace Org.BouncyCastle.Math.EC
             return Equals(other);
         }
 
-        protected bool Equals(
+        public virtual bool Equals(
             FpFieldElement other)
         {
             return q.Equals(other.q) && base.Equals(other);
@@ -1255,7 +1255,7 @@ namespace Org.BouncyCastle.Math.EC
             return Equals(other);
         }
 
-        protected bool Equals(
+        public virtual bool Equals(
             F2mFieldElement other)
         {
             return m == other.m