rsaenh: Add some new flags to wincrypt.h and use one of them.
This commit is contained in:
parent
77d912e541
commit
51ee956b95
|
@ -3027,11 +3027,11 @@ BOOL WINAPI RSAENH_CPGetProvParam(HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData,
|
|||
DWORD dwTemp;
|
||||
HKEY hKey;
|
||||
|
||||
/* This is for dwParam 41, which does not seem to be documented
|
||||
* on MSDN. IE6 SP1 asks for it in the 'About' dialog, however.
|
||||
/* This is for dwParam PP_CRYPT_COUNT_KEY_USE.
|
||||
* IE6 SP1 asks for it in the 'About' dialog.
|
||||
* Returning this BLOB seems to satisfy IE. The marked 0x00 seem
|
||||
* to be 'don't care's. If you know anything more specific about
|
||||
* provider parameter 41, please report to wine-devel@winehq.org */
|
||||
* this provider parameter, please report to wine-devel@winehq.org */
|
||||
static CONST BYTE abWTF[96] = {
|
||||
0xb0, 0x25, 0x63, 0x86, 0x9c, 0xab, 0xb6, 0x37,
|
||||
0xe8, 0x82, /**/0x00,/**/ 0x72, 0x06, 0xb2, /**/0x00,/**/ 0x3b,
|
||||
|
@ -3175,7 +3175,7 @@ BOOL WINAPI RSAENH_CPGetProvParam(HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData,
|
|||
sizeof(PROV_ENUMALGS_EX));
|
||||
}
|
||||
|
||||
case 41: /* Undocumented. Asked for by IE About dialog */
|
||||
case PP_CRYPT_COUNT_KEY_USE: /* Asked for by IE About dialog */
|
||||
return copy_param(pbData, pdwDataLen, abWTF, sizeof(abWTF));
|
||||
|
||||
default:
|
||||
|
|
|
@ -1816,14 +1816,6 @@ static const WCHAR MS_ENH_RSA_AES_PROV_W[] = { 'M','i','c','r','o','s'
|
|||
|
||||
/* FLAGS Section */
|
||||
|
||||
/* Provider Parameters */
|
||||
#define PP_ENUMALGS 1
|
||||
#define PP_ENUMCONTAINERS 2
|
||||
#define PP_IMPTYPE 3
|
||||
#define PP_NAME 4
|
||||
#define PP_VERSION 5
|
||||
#define PP_CONTAINER 6
|
||||
|
||||
#define CRYPT_FIRST 1
|
||||
#define CRYPT_NEXT 2
|
||||
|
||||
|
@ -1880,6 +1872,11 @@ static const WCHAR MS_ENH_RSA_AES_PROV_W[] = { 'M','i','c','r','o','s'
|
|||
#define PP_USE_HARDWARE_RNG 38
|
||||
#define PP_KEYSPEC 39
|
||||
#define PP_ENUMEX_SIGNING_PROT 40
|
||||
#define PP_CRYPT_COUNT_KEY_USE 41
|
||||
#define PP_USER_CERTSTORE 42
|
||||
#define PP_SMARTCARD_READER 43
|
||||
#define PP_SMARTCARD_GUID 45
|
||||
#define PP_ROOT_CERTSTORE 46
|
||||
|
||||
/* Values returned by CryptGetProvParam of PP_KEYSTORAGE */
|
||||
#define CRYPT_SEC_DESCR 0x00000001
|
||||
|
|
Loading…
Reference in New Issue