Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit f570af8

Browse files
committed
Fix Issue 18482 - wincrypt functions should be @nogc nothrow
1 parent 97d25f2 commit f570af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/sys/windows/wincrypt.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ struct HMAC_INFO {
821821
}
822822
alias HMAC_INFO* PHMAC_INFO;
823823

824-
extern (Windows) {
824+
extern (Windows) @nogc nothrow {
825825
BOOL CertCloseStore(HCERTSTORE, DWORD);
826826
BOOL CertGetCertificateChain(HCERTCHAINENGINE, PCCERT_CONTEXT, LPFILETIME,
827827
HCERTSTORE, PCERT_CHAIN_PARA, DWORD, LPVOID, PCCERT_CHAIN_CONTEXT*);

0 commit comments

Comments
 (0)