summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-05-13 16:37:13 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-05-13 16:37:13 +0700
commita97b731939b9b155d4af944953b2347d93d548ff (patch)
tree5188f50f46e1f922db08ccb5b03ac9e3422ef2cb
parentMerge branch 'deniszykov-patch-1' (diff)
parentUpdate DHValidationParms.cs (diff)
downloadBouncyCastle.NET-ed25519-a97b731939b9b155d4af944953b2347d93d548ff.tar.xz
Merge branch 'patch-7' of https://github.com/rastrup/bc-csharp into rastrup-patch-7
-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)