Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Saml/Saml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ public void LoadCertificate(byte[] certificate)
{
try
{
cert = new X509Certificate2();
cert.Import(certificate);
cert = new X509Certificate2(certificate);
} catch (Exception ex)
{
throw new LoadCertificateException("Failed to load certificate", ex);
Expand Down