diff options
author | Kristian Rastrup <kristian@rastrup.net> | 2019-05-13 11:07:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 11:07:39 +0200 |
commit | 179ccedfc54e90d597ad4af1b241cdf1964dd645 (patch) | |
tree | cc7c0b94916cecd88ccb095f678f3173d322e431 /crypto | |
parent | Merge branch 'kakkerlakgly-patch-3' (diff) | |
download | BouncyCastle.NET-ed25519-179ccedfc54e90d597ad4af1b241cdf1964dd645.tar.xz |
Update DHValidationParms.cs
Correcting type check in DHValidationParms
Diffstat (limited to 'crypto')
-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) |