From e3d12a2c33a7a9d0f371e1d5ff07f7ab7a3eb7ae Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 17 Feb 2023 17:58:20 +0700 Subject: Refactoring around Asn1EncodableVector --- crypto/src/asn1/x509/PolicyMappings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/x509/PolicyMappings.cs') diff --git a/crypto/src/asn1/x509/PolicyMappings.cs b/crypto/src/asn1/x509/PolicyMappings.cs index a077f2059..01a6ae88f 100644 --- a/crypto/src/asn1/x509/PolicyMappings.cs +++ b/crypto/src/asn1/x509/PolicyMappings.cs @@ -38,7 +38,7 @@ namespace Org.BouncyCastle.Asn1.X509 */ public PolicyMappings(IDictionary mappings) { - Asn1EncodableVector v = new Asn1EncodableVector(); + Asn1EncodableVector v = new Asn1EncodableVector(mappings.Count); foreach (var entry in mappings) { -- cgit 1.4.1