diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-13 16:37:13 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-13 16:37:13 +0700 |
commit | a97b731939b9b155d4af944953b2347d93d548ff (patch) | |
tree | 5188f50f46e1f922db08ccb5b03ac9e3422ef2cb | |
parent | Merge branch 'deniszykov-patch-1' (diff) | |
parent | Update DHValidationParms.cs (diff) | |
download | BouncyCastle.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.cs | 2 |
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) |