summary refs log tree commit diff
path: root/crypto/src/asn1/cmp/CertStatus.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cmp/CertStatus.cs')
-rw-r--r--crypto/src/asn1/cmp/CertStatus.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/src/asn1/cmp/CertStatus.cs b/crypto/src/asn1/cmp/CertStatus.cs
index b64a0fe84..29db607d7 100644
--- a/crypto/src/asn1/cmp/CertStatus.cs
+++ b/crypto/src/asn1/cmp/CertStatus.cs
@@ -52,10 +52,15 @@ namespace Org.BouncyCastle.Asn1.Cmp
 			}
 		}
 
-		public CertStatus(byte[] certHash, BigInteger certReqID)
+        public CertStatus(byte[] certHash, BigInteger certReqID)
+            : this(certHash, new DerInteger(certReqID))
+        {
+        }
+
+        public CertStatus(byte[] certHash, DerInteger certReqID)
 		{
 			m_certHash = new DerOctetString(certHash);
-			m_certReqID = new DerInteger(certReqID);
+			m_certReqID = certReqID;
             m_statusInfo = null;
             m_hashAlg = null;
         }