summary refs log tree commit diff
path: root/crypto/src/x509/SubjectPublicKeyInfoFactory.cs
diff options
context:
space:
mode:
authorDavid Hook <dgh@bouncycastle.org>2019-01-20 11:17:35 +1100
committerDavid Hook <dgh@bouncycastle.org>2019-01-20 11:17:35 +1100
commitaa29930511ac310a724e0e1fc13fa4dea2558953 (patch)
treeac3f4f7641405a5980080edf624f49524ece3f31 /crypto/src/x509/SubjectPublicKeyInfoFactory.cs
parentSelecting digest. (diff)
downloadBouncyCastle.NET-ed25519-aa29930511ac310a724e0e1fc13fa4dea2558953.tar.xz
minor tweaking
Diffstat (limited to 'crypto/src/x509/SubjectPublicKeyInfoFactory.cs')
-rw-r--r--crypto/src/x509/SubjectPublicKeyInfoFactory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/x509/SubjectPublicKeyInfoFactory.cs b/crypto/src/x509/SubjectPublicKeyInfoFactory.cs
index 234bcff34..395c31263 100644
--- a/crypto/src/x509/SubjectPublicKeyInfoFactory.cs
+++ b/crypto/src/x509/SubjectPublicKeyInfoFactory.cs
@@ -98,9 +98,9 @@ namespace Org.BouncyCastle.X509
                 ECPublicKeyParameters _key = (ECPublicKeyParameters) publicKey;
 
 
-                if (_key.Parameters is ECGOST3410Parameters)
+                if (_key.Parameters is ECGost3410Parameters)
                 {
-                    ECGOST3410Parameters gostParams = (ECGOST3410Parameters)_key.Parameters;
+                    ECGost3410Parameters gostParams = (ECGost3410Parameters)_key.Parameters;
 
                     BigInteger bX = _key.Q.AffineXCoord.ToBigInteger();
                     BigInteger bY = _key.Q.AffineYCoord.ToBigInteger();