在 2025-7-19 21:54, Jacek Caban 写道:
On 19.07.2025 15:47, LIU Hao wrote:
+ struct _CRYPT_PROVIDER_DATA;
+ struct _CRYPT_PROVIDER_SGNR;
+ struct _CRYPT_PROVIDER_PRIVDATA;
+ struct _CRYPT_PROVIDER_DEFUSAGE;
We could also reorder declarations to define those structs earlier, but the
patch lo
On 19.07.2025 15:47, LIU Hao wrote:
+ struct _CRYPT_PROVIDER_DATA;
+ struct _CRYPT_PROVIDER_SGNR;
+ struct _CRYPT_PROVIDER_PRIVDATA;
+ struct _CRYPT_PROVIDER_DEFUSAGE;
We could also reorder declarations to define those structs earlier, but
the patch looks fine to me too.
Thanks,
Jace
Like in 0028c5c24f84750b5a53131c69e5f69fb51d8a7c, this solves warnings like
mingw-w64-headers/include/wintrust.h:245:47: warning: 'struct _CRYPT_PROVIDER_DATA' declared inside
parameter list will not be visible outside of this definition or declaration
245 | typedef WINBOOL (*PFN_CPD_A