April 17, 2026
12:20 p.m.
Hans Leidekker (@hans) commented about include/wincrypt.h:
DWORD *pcCertChains, BYTE* pbEncodedIssuerName, DWORD cbEncodedIssuerName, LPCWSTR pwszPurpose, DWORD dwKeySpec);
+#ifndef CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG +#define CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG 0x00010000 +#endif It doesn't need to be guarded. Some related NCRYPT flags are also missing which would be nice to have. What about this patch?
[ncrypt_flags.diff](/uploads/6fa3c6228371e8dfffa6eb59204e25ff/ncrypt_flags.diff) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10561#note_136724