From 123ced5eeeb6ea5a7aa4c3af02f89081caec949c Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 8 Nov 2015 10:15:13 +0700 Subject: AddOptional can take varargs --- crypto/src/asn1/crmf/CertReqMsg.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/src/asn1/crmf') diff --git a/crypto/src/asn1/crmf/CertReqMsg.cs b/crypto/src/asn1/crmf/CertReqMsg.cs index 2ca319a57..20fd4179a 100644 --- a/crypto/src/asn1/crmf/CertReqMsg.cs +++ b/crypto/src/asn1/crmf/CertReqMsg.cs @@ -98,8 +98,7 @@ namespace Org.BouncyCastle.Asn1.Crmf public override Asn1Object ToAsn1Object() { Asn1EncodableVector v = new Asn1EncodableVector(certReq); - v.AddOptional(popo); - v.AddOptional(regInfo); + v.AddOptional(popo, regInfo); return new DerSequence(v); } } -- cgit 1.4.1