Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove last DllImport from Cryptography assemblies.
  • Loading branch information
AaronRobinsonMSFT committed Nov 3, 2021
commit 8678bd934ebf2400a0baafd020a31e667665d549
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ internal static SafeChainEngineHandle CertCreateCertificateChainEngine(ref CERT_
[GeneratedDllImport(Libraries.Crypt32, CharSet = CharSet.Unicode, SetLastError = true)]
private static partial bool CertCreateCertificateChainEngine(ref CERT_CHAIN_ENGINE_CONFIG pConfig, out SafeChainEngineHandle hChainEngineHandle);

[DllImport(Libraries.Crypt32)]
public static extern void CertFreeCertificateChainEngine(IntPtr hChainEngine);
[GeneratedDllImport(Libraries.Crypt32)]
public static partial void CertFreeCertificateChainEngine(IntPtr hChainEngine);

[GeneratedDllImport(Libraries.Crypt32, SetLastError = true)]
public static unsafe partial bool CertGetCertificateChain(IntPtr hChainEngine, SafeCertContextHandle pCertContext, FILETIME* pTime, SafeCertStoreHandle hStore, ref CERT_CHAIN_PARA pChainPara, CertChainFlags dwFlags, IntPtr pvReserved, out SafeX509ChainHandle ppChainContext);
Expand Down