Skip to content

Commit

Permalink
minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Feb 10, 2024
1 parent 4fc5859 commit 6348a55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion MimeKit/Cryptography/BouncyCastleSecureMimeContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,6 @@ public override async Task<MimePart> EncryptAsync (IEnumerable<MailboxAddress> r
CmsTypedStream GetDecryptedContent (CmsEnvelopedDataParser parser)
{
var recipients = parser.GetRecipientInfos ();
var algorithm = parser.EncryptionAlgorithmID;
AsymmetricKeyParameter key;

foreach (var recipient in recipients.GetRecipients ()) {
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/Cryptography/X509CertificateGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public static X509Certificate[] Generate (GeneratorOptions options, PrivateKeyOp
throw new FormatException ("[Generator] failed to load `{options.Issuer}': {ex.Message}", ex);
}
} else {
chain = new X509Certificate[0];
chain = Array.Empty<X509Certificate> ();
issuerCertificate = null;
signingKey = key.Private;
issuer = subject;
Expand Down

0 comments on commit 6348a55

Please sign in to comment.