summary refs log tree commit diff
path: root/crypto/src/crmf/CertificateRequestMessageBuilder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/crmf/CertificateRequestMessageBuilder.cs')
-rw-r--r--crypto/src/crmf/CertificateRequestMessageBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crmf/CertificateRequestMessageBuilder.cs b/crypto/src/crmf/CertificateRequestMessageBuilder.cs
index d09084fb3..dc5bc6224 100644
--- a/crypto/src/crmf/CertificateRequestMessageBuilder.cs
+++ b/crypto/src/crmf/CertificateRequestMessageBuilder.cs
@@ -201,7 +201,7 @@ namespace Org.BouncyCastle.Crmf
 
             if (m_controls.Count > 0)
             {
-                Asn1EncodableVector controlV = new Asn1EncodableVector();
+                Asn1EncodableVector controlV = new Asn1EncodableVector(m_controls.Count);
 
                 foreach (var control in m_controls)
                 {