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

Commit

Permalink
Merge pull request #2103 from n8sh/wincrypt-nogc-nothrow
Browse files Browse the repository at this point in the history
Fix Issue 18482 - wincrypt functions should be `@nogc` `nothrow`
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
  • Loading branch information
dlang-bot committed Feb 21, 2018
2 parents 9a69ddb + f570af8 commit b281ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/sys/windows/wincrypt.d
Expand Up @@ -821,7 +821,7 @@ struct HMAC_INFO {
}
alias HMAC_INFO* PHMAC_INFO;

extern (Windows) {
extern (Windows) @nogc nothrow {
BOOL CertCloseStore(HCERTSTORE, DWORD);
BOOL CertGetCertificateChain(HCERTCHAINENGINE, PCCERT_CONTEXT, LPFILETIME,
HCERTSTORE, PCERT_CHAIN_PARA, DWORD, LPVOID, PCCERT_CHAIN_CONTEXT*);
Expand Down

0 comments on commit b281ef1

Please sign in to comment.