diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-13 16:37:59 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-13 16:37:59 +0700 |
commit | 6e589b13f8b712f145042a442c5e9da62b757e26 (patch) | |
tree | 5188f50f46e1f922db08ccb5b03ac9e3422ef2cb | |
parent | Merge branch 'deniszykov-patch-1' (diff) | |
parent | Merge branch 'patch-7' of https://github.com/rastrup/bc-csharp into rastrup-p... (diff) | |
download | BouncyCastle.NET-ed25519-6e589b13f8b712f145042a442c5e9da62b757e26.tar.xz |
Merge branch '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) |