Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/9 13:05, Biswapriyo Nath 写道: > Update 3. > > As in the second patch `BOOL` should be `WINBOOL`. I amended it and pushed this patch. Thanks. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-pu

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Biswapriyo Nath
Update 3. From 43d18b7edc96a3f28a474ba4ba040e5bd1387e9d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 9 Nov 2019 10:28:54 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincrypt.h | 575 +++

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/9 3:14, Biswapriyo Nath 写道: > Update 2: Removed the wnum type completely. > > > This is barely satisfactory. That enumeration by default has an underlying type of `unsigned int` which has the same size and alignment requirement as `DWORD` (which is `unsigned long`) on Windows. So it i

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Biswapriyo Nath
Update 2: Removed the wnum type completely. From 2b6c5aff75287577aaa470c4b9bc10690f16ffd6 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 9 Nov 2019 00:38:39 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincry

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-08 Thread Liu Hao
在 2019/11/5 23:35, Biswapriyo Nath 写道: > Update 1. > > > > + > +#if defined(__cplusplus) && !defined(SORTPP_PASS) > +#define WINCRYPT_DWORD_CPP_ONLY DWORD > +#else > +#define WINCRYPT_DWORD_CPP_ONLY > +#endif > + typedef enum CertKeyType WINCRYPT_DWORD_CPP_ONLY { This `WINCRYPT_DWORD_CPP_ONLY`

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-06 Thread Liu Hao
在 2019/11/5 23:35, Biswapriyo Nath 写道: > Update 1. > > > + WINIMPM BOOL WINAPI CertIsWeakHash(DWORD dwHashUseType, LPCWSTR > pwszCNGHashAlgid, DWORD dwChainFlags, PCCERT_CHAIN_CONTEXT > pSignerChainContext, LPFILETIME pTimeStamp, LPCWSTR pwszFileName); > + Perhaps `BOOL` should have been `WI

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-05 Thread Biswapriyo Nath
Update 1. From 49753f1085bf5781fc02d734fc7d34d81c957784 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 5 Nov 2019 20:57:37 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincrypt.h | 576 +++

Re: [Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-05 Thread Liu Hao
在 2019/11/5 13:01, Biswapriyo Nath 写道: > ... > > > diff --git a/mingw-w64-headers/include/wincrypt.h > b/mingw-w64-headers/include/wincrypt.h > index 0e84a351..9095c1f7 100644 > --- a/mingw-w64-headers/include/wincrypt.h > +++ b/mingw-w64-headers/include/wincrypt.h > @@ -95,9 +95,19 @@ extern "C

[Mingw-w64-public] [PATCH] include/wincrypt: update header file

2019-11-04 Thread Biswapriyo Nath
... From 61bb723f69ea9a9650ef950e4fa31ed63c4de0f9 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 5 Nov 2019 10:26:30 +0530 Subject: [PATCH] include/wincrypt: update header file Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wincrypt.h | 576 +--