diff options
Diffstat (limited to 'crypto/src/asn1/x9/DHValidationParms.cs')
-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) |