Skip to content

Commit 3564f63

Browse files
benrr101edwardneal
andauthored
Fix missing new
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
1 parent 142a632 commit 3564f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/Fixtures/CertificateFixtureBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected X509Certificate2 CreateCertificate(string subjectName, IEnumerable<str
9797
PreserveKeyName = true
9898
});
9999
#else
100-
return X509Certificate2(
100+
return new X509Certificate2(
101101
ephemeral.Export(X509ContentType.Pkcs12, password),
102102
password,
103103
X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable);

0 commit comments

Comments
 (0)