diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-03 19:57:22 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-03 19:57:22 +0700 |
commit | e6eac97b1015f3637aee31ce120ee9ed4162fc86 (patch) | |
tree | dd558d8a952ff53be2fbf8a8b5b2b0f591cc5126 | |
parent | Pqc cleanup (diff) | |
download | BouncyCastle.NET-ed25519-e6eac97b1015f3637aee31ce120ee9ed4162fc86.tar.xz |
Make field readonly
-rw-r--r-- | crypto/src/math/ec/ECPoint.cs | 2 |
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) { |