Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
51ee956b
Commit
51ee956b
authored
Apr 03, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Add some new flags to wincrypt.h and use one of them.
parent
77d912e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
rsaenh.c
dlls/rsaenh/rsaenh.c
+4
-4
wincrypt.h
include/wincrypt.h
+5
-8
No files found.
dlls/rsaenh/rsaenh.c
View file @
51ee956b
...
...
@@ -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:
...
...
include/wincrypt.h
View file @
51ee956b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment