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

Commit b281ef1

Browse files
authored
Merge pull request #2103 from n8sh/wincrypt-nogc-nothrow
Fix Issue 18482 - wincrypt functions should be `@nogc` `nothrow` merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2 parents 9a69ddb + f570af8 commit b281ef1

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)