Skip to content

Commit

Permalink
Fix invalid cast in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Feb 8, 2019
1 parent f4d21d8 commit 7c84121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/test/src/crmf/test/CrmfTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7c84121

Please sign in to comment.