Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4e0ef1cb
Commit
4e0ef1cb
authored
Jun 13, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jun 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Allow CRYPT_NEWKEYSET and CRYPT_VERIFYCONTEXT at same time when acquiring context.
parent
0e3e2875
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
rsaenh.c
dlls/rsaenh/rsaenh.c
+1
-0
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+5
-0
No files found.
dlls/rsaenh/rsaenh.c
View file @
4e0ef1cb
...
...
@@ -1502,6 +1502,7 @@ BOOL WINAPI RSAENH_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
*
phProv
=
new_key_container
(
szKeyContainerName
,
dwFlags
,
pVTable
);
break
;
case
CRYPT_VERIFYCONTEXT
|
CRYPT_NEWKEYSET
:
case
CRYPT_VERIFYCONTEXT
:
if
(
pszContainer
)
{
TRACE
(
"pszContainer should be NULL
\n
"
);
...
...
dlls/rsaenh/tests/rsaenh.c
View file @
4e0ef1cb
...
...
@@ -1318,6 +1318,11 @@ static void test_schannel_provider(void)
0x3d
,
0xca
,
0x6a
,
0x6f
,
0xfa
,
0x15
,
0x4e
,
0xaa
};
result
=
CryptAcquireContext
(
&
hProv
,
NULL
,
NULL
,
PROV_RSA_SCHANNEL
,
CRYPT_VERIFYCONTEXT
|
CRYPT_NEWKEYSET
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
if
(
result
)
CryptReleaseContext
(
hProv
,
0
);
result
=
CryptAcquireContext
(
&
hProv
,
NULL
,
NULL
,
PROV_RSA_SCHANNEL
,
CRYPT_VERIFYCONTEXT
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
if
(
!
result
)
return
;
...
...
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