From e6eac97b1015f3637aee31ce120ee9ed4162fc86 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 3 Jan 2023 19:57:22 +0700 Subject: Make field readonly --- crypto/src/math/ec/ECPoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src') 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) { -- cgit 1.4.1