Skip to content

Commit

Permalink
Forgot to hit save before committing
Browse files Browse the repository at this point in the history
  • Loading branch information
amcasey committed Jul 3, 2024
1 parent b52fe73 commit 2c2ecb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shared/CertificateGeneration/UnixCertificateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected override TrustLevel TrustCertificateCore(X509Certificate2 certificate)
{
try
{
var existingCert = X509Certificate2.CreateFromPemFile(certPath);
var existingCert = new X509Certificate2(certPath);
if (!existingCert.RawDataMemory.Span.SequenceEqual(certificate.RawDataMemory.Span))
{
Log.UnixCertificateAlreadyExists(certPath);
Expand Down

0 comments on commit 2c2ecb9

Please sign in to comment.