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
ac4ac88a
Commit
ac4ac88a
authored
Dec 08, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Use helper function to release and install a key into a crypt provider.
parent
e099b80a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
rsaenh.c
dlls/rsaenh/rsaenh.c
+6
-6
No files found.
dlls/rsaenh/rsaenh.c
View file @
ac4ac88a
...
@@ -3065,9 +3065,9 @@ BOOL WINAPI RSAENH_CPGenKey(HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYP
...
@@ -3065,9 +3065,9 @@ BOOL WINAPI RSAENH_CPGenKey(HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYP
if
(
pCryptKey
)
{
if
(
pCryptKey
)
{
new_key_impl
(
pCryptKey
->
aiAlgid
,
&
pCryptKey
->
context
,
pCryptKey
->
dwKeyLen
);
new_key_impl
(
pCryptKey
->
aiAlgid
,
&
pCryptKey
->
context
,
pCryptKey
->
dwKeyLen
);
setup_key
(
pCryptKey
);
setup_key
(
pCryptKey
);
RSAENH_CPDestroyKey
(
hProv
,
pKeyContainer
->
hSignatureKeyPair
);
release_and_install_key
(
hProv
,
*
phKey
,
copy_handle
(
&
handle_table
,
*
phKey
,
RSAENH_MAGIC_KEY
,
&
pKeyContainer
->
hSignatureKeyPair
,
&
pKeyContainer
->
hSignatureKeyPair
);
FALSE
);
}
}
break
;
break
;
...
@@ -3077,9 +3077,9 @@ BOOL WINAPI RSAENH_CPGenKey(HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYP
...
@@ -3077,9 +3077,9 @@ BOOL WINAPI RSAENH_CPGenKey(HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYP
if
(
pCryptKey
)
{
if
(
pCryptKey
)
{
new_key_impl
(
pCryptKey
->
aiAlgid
,
&
pCryptKey
->
context
,
pCryptKey
->
dwKeyLen
);
new_key_impl
(
pCryptKey
->
aiAlgid
,
&
pCryptKey
->
context
,
pCryptKey
->
dwKeyLen
);
setup_key
(
pCryptKey
);
setup_key
(
pCryptKey
);
RSAENH_CPDestroyKey
(
hProv
,
pKeyContainer
->
hKeyExchangeKeyPair
);
release_and_install_key
(
hProv
,
*
phKey
,
copy_handle
(
&
handle_table
,
*
phKey
,
RSAENH_MAGIC_KEY
,
&
pKeyContainer
->
hKeyExchangeKeyPair
,
&
pKeyContainer
->
hKeyExchangeKeyPair
);
FALSE
);
}
}
break
;
break
;
...
...
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