On Tue, 9 Jun 2020, Steve Lhomme wrote:

The API's are forbidden anyway [1] so should be linked through external
libraries. winstorecompat/windowsappcompat has proper replacements.

When used with mincore the only way to link these calls was through
winstorecompat so builds won't be affected by this change.

Technically CryptReleaseContext() is allowed but without other matching API's
as far as I can see. And we cannot use the system one with the custom context
created in winstorecompat.

[1] 
https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-security-cryptoapi-l1-1-0dll
---
.../lib-common/api-ms-win-security-cryptoapi-l1-1-0.def  | 9 +++++----
.../lib32/api-ms-win-security-cryptoapi-l1-1-0.def       | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)

Thanks, this LGTM, so I pushed it.

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to