summary refs log tree commit diff
path: root/crypto/src/pkcs
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/pkcs
parentSelecting digest. (diff)
downloadBouncyCastle.NET-ed25519-aa29930511ac310a724e0e1fc13fa4dea2558953.tar.xz
minor tweaking
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r--crypto/src/pkcs/PrivateKeyInfoFactory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/pkcs/PrivateKeyInfoFactory.cs b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
index 75a56983a..0d5026909 100644
--- a/crypto/src/pkcs/PrivateKeyInfoFactory.cs
+++ b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
@@ -124,9 +124,9 @@ namespace Org.BouncyCastle.Pkcs
                 ECDomainParameters dp = priv.Parameters;
 
                 // ECGOST3410
-                if (dp is ECGOST3410Parameters)
+                if (dp is ECGost3410Parameters)
                 {
-                    ECGOST3410Parameters domainParameters = (ECGOST3410Parameters) dp;
+                    ECGost3410Parameters domainParameters = (ECGost3410Parameters) dp;
 
                     Gost3410PublicKeyAlgParameters gostParams = new Gost3410PublicKeyAlgParameters(
                         (domainParameters).PublicKeyParamSet,