summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-01-03 19:57:22 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-01-03 19:57:22 +0700
commite6eac97b1015f3637aee31ce120ee9ed4162fc86 (patch)
treedd558d8a952ff53be2fbf8a8b5b2b0f591cc5126
parentPqc cleanup (diff)
downloadBouncyCastle.NET-ed25519-e6eac97b1015f3637aee31ce120ee9ed4162fc86.tar.xz
Make field readonly
-rw-r--r--crypto/src/math/ec/ECPoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/ECPoint.cs b/crypto/src/math/ec/ECPoint.cs
index ee7cf9a92..1329ea0d0 100644
--- a/crypto/src/math/ec/ECPoint.cs
+++ b/crypto/src/math/ec/ECPoint.cs
@@ -12,7 +12,7 @@ namespace Org.BouncyCastle.Math.EC
      */
     public abstract class ECPoint
     {
-        protected static ECFieldElement[] EMPTY_ZS = new ECFieldElement[0];
+        protected static readonly ECFieldElement[] EMPTY_ZS = new ECFieldElement[0];
 
         protected static ECFieldElement[] GetInitialZCoords(ECCurve curve)
         {