From 7c84121dcd71fed6cb7ac274e186c83f0e0877ee Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Thu, 7 Feb 2019 19:55:16 -0500 Subject: [PATCH] Fix invalid cast in test --- crypto/test/src/crmf/test/CrmfTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/test/src/crmf/test/CrmfTest.cs b/crypto/test/src/crmf/test/CrmfTest.cs index 8211fe1c4b..042e2d4c19 100644 --- a/crypto/test/src/crmf/test/CrmfTest.cs +++ b/crypto/test/src/crmf/test/CrmfTest.cs @@ -156,7 +156,7 @@ private void CheckCertReqMsgWithArchiveControl(AsymmetricCipherKeyPair kp, Certi IsTrue(archiveControl.EnvelopedData); RecipientInformationStore recips = archiveControl.GetEnvelopedData().GetRecipientInfos(); - ArrayList collection = (ArrayList)recips.GetRecipients(); + IList collection = (IList)recips.GetRecipients(); IsTrue(collection.Count == 1); KeyTransRecipientInformation info = (KeyTransRecipientInformation)collection[0];