Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit ab4b21f

Browse files
author
Cesar Blum Silveira
committed
Pass flags to X509Certificate2 ctor.
1 parent 1ffe304 commit ab4b21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore/CertificateLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private X509Certificate2 TryLoad(X509KeyStorageFlags flags, out Exception except
9595
{
9696
try
9797
{
98-
var loadedCertificate = new X509Certificate2(Path, _password);
98+
var loadedCertificate = new X509Certificate2(Path, _password, flags);
9999
exception = null;
100100
return loadedCertificate;
101101
}

0 commit comments

Comments
 (0)