Skip to content

Commit

Permalink
Update PfxImporter.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nomailme committed Jan 24, 2023
1 parent fc107e6 commit 2179fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class PfxLoaderOptions: ICertificateLoaderOptions
public string Password { get; set; } = string.Empty;
}

public Task<ImportResult> ImportAsync(byte[] input, PfxLoaderOptions options)
public Task<ImportResult> ImportAsync(byte[] input, PfxLoaderOptions? options)
{
var certificateCollection = new X509Certificate2Collection();
if (options is not { } pfxOptions)
Expand Down

0 comments on commit 2179fd9

Please sign in to comment.