summary refs log tree commit diff
path: root/crypto/src/asn1/ocsp/ResponseData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/ocsp/ResponseData.cs')
-rw-r--r--crypto/src/asn1/ocsp/ResponseData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/ocsp/ResponseData.cs b/crypto/src/asn1/ocsp/ResponseData.cs
index dfb234bc1..b18e1d623 100644
--- a/crypto/src/asn1/ocsp/ResponseData.cs
+++ b/crypto/src/asn1/ocsp/ResponseData.cs
@@ -138,7 +138,7 @@ namespace Org.BouncyCastle.Asn1.Ocsp
          */
         public override Asn1Object ToAsn1Object()
         {
-            Asn1EncodableVector v = new Asn1EncodableVector();
+            Asn1EncodableVector v = new Asn1EncodableVector(3);
 
             if (versionPresent || !version.Equals(V1))
             {