Skip to content

Commit 7c84121

Browse files
author
Oren Novotny
committed
Fix invalid cast in test
1 parent f4d21d8 commit 7c84121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/test/src/crmf/test/CrmfTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void CheckCertReqMsgWithArchiveControl(AsymmetricCipherKeyPair kp, Certi
156156
IsTrue(archiveControl.EnvelopedData);
157157
RecipientInformationStore recips = archiveControl.GetEnvelopedData().GetRecipientInfos();
158158

159-
ArrayList collection = (ArrayList)recips.GetRecipients();
159+
IList collection = (IList)recips.GetRecipients();
160160

161161
IsTrue(collection.Count == 1);
162162
KeyTransRecipientInformation info = (KeyTransRecipientInformation)collection[0];

0 commit comments

Comments
 (0)