Skip to content

Commit

Permalink
fix 2 warnings in CodeAnalysis (#3388)
Browse files Browse the repository at this point in the history
* fix 2 warnings in CodeAnalysis
  • Loading branch information
heng-liu committed Jun 16, 2020
1 parent 146812c commit aa49e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void AddCertificates(IEnumerable<X509Certificate2> certificates)
{
foreach (var cert in certificates)
{
_signedCms.AddCertificate(new X509Certificate2(cert));
_signedCms.AddCertificate(cert);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ public class Rfc3161TimestampProvider : ITimestampProvider
{
// Url to an RFC 3161 timestamp server
private readonly Uri _timestamperUrl;
#if IS_SIGNING_SUPPORTED
private static readonly TimeSpan RequestTimeout = TimeSpan.FromSeconds(10);

#endif
public Rfc3161TimestampProvider(Uri timeStampServerUrl)
{
#if IS_SIGNING_SUPPORTED
Expand Down

0 comments on commit aa49e4d

Please sign in to comment.