summary refs log tree commit diff
path: root/crypto/src/asn1/x9
diff options
context:
space:
mode:
authorKristian Rastrup <kristian@rastrup.net>2019-05-13 11:07:39 +0200
committerGitHub <noreply@github.com>2019-05-13 11:07:39 +0200
commit179ccedfc54e90d597ad4af1b241cdf1964dd645 (patch)
treecc7c0b94916cecd88ccb095f678f3173d322e431 /crypto/src/asn1/x9
parentMerge branch 'kakkerlakgly-patch-3' (diff)
downloadBouncyCastle.NET-ed25519-179ccedfc54e90d597ad4af1b241cdf1964dd645.tar.xz
Update DHValidationParms.cs
Correcting type check in DHValidationParms
Diffstat (limited to 'crypto/src/asn1/x9')
-rw-r--r--crypto/src/asn1/x9/DHValidationParms.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x9/DHValidationParms.cs b/crypto/src/asn1/x9/DHValidationParms.cs
index c63c50205..ec34f8912 100644
--- a/crypto/src/asn1/x9/DHValidationParms.cs
+++ b/crypto/src/asn1/x9/DHValidationParms.cs
@@ -17,7 +17,7 @@ namespace Org.BouncyCastle.Asn1.X9
 
 		public static DHValidationParms GetInstance(object obj)
 		{
-			if (obj == null || obj is DHDomainParameters)
+			if (obj == null || obj is DHValidationParms)
 				return (DHValidationParms)obj;
 
 			if (obj is Asn1Sequence)