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
86b1e74f
Commit
86b1e74f
authored
Oct 01, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Oct 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Adjust length value to pass on Win 10.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
parent
a66f4e52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+1
-2
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
86b1e74f
...
...
@@ -1971,8 +1971,7 @@ static void test_import_private(void)
* actual buffer. The private exponent can be omitted, its length is
* inferred from the passed-in length parameter.
*/
dwLen
=
sizeof
(
BLOBHEADER
)
+
sizeof
(
RSAPUBKEY
)
+
rsaPubKey
->
bitlen
/
8
+
5
*
rsaPubKey
->
bitlen
/
16
;
dwLen
=
sizeof
(
BLOBHEADER
)
+
sizeof
(
RSAPUBKEY
)
+
rsaPubKey
->
bitlen
/
2
;
for
(;
dwLen
<
sizeof
(
abPlainPrivateKey
);
dwLen
++
)
{
result
=
CryptImportKey
(
hProv
,
abPlainPrivateKey
,
dwLen
,
0
,
0
,
&
hKeyExchangeKey
);
...
...
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