summary refs log tree commit diff
path: root/crypto/src/asn1/pkcs/RSASSAPSSparams.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/pkcs/RSASSAPSSparams.cs')
-rw-r--r--crypto/src/asn1/pkcs/RSASSAPSSparams.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/pkcs/RSASSAPSSparams.cs b/crypto/src/asn1/pkcs/RSASSAPSSparams.cs
index 85849c362..e5800993f 100644
--- a/crypto/src/asn1/pkcs/RSASSAPSSparams.cs
+++ b/crypto/src/asn1/pkcs/RSASSAPSSparams.cs
@@ -138,7 +138,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs
 		 */
 		public override Asn1Object ToAsn1Object()
 		{
-			Asn1EncodableVector v = new Asn1EncodableVector();
+			Asn1EncodableVector v = new Asn1EncodableVector(4);
 
 			if (!hashAlgorithm.Equals(DefaultHashAlgorithm))
 			{