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
f48b0aa6
Commit
f48b0aa6
authored
Nov 25, 2010
by
Alexander Morozov
Committed by
Alexandre Julliard
Nov 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Fix test failures on some Win95 and some NT4.
parent
b9c122f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
message.c
dlls/crypt32/tests/message.c
+12
-5
No files found.
dlls/crypt32/tests/message.c
View file @
f48b0aa6
...
...
@@ -1322,10 +1322,15 @@ static void test_encrypt_message(void)
ret
=
CryptEncryptMessage
(
&
para
,
0
,
NULL
,
blob
,
sizeof
(
blob
),
encryptedBlob
,
&
encryptedBlobSize
);
todo_wine
ok
(
ret
,
"CryptEncryptMessage failed: %08x
\n
"
,
GetLastError
());
todo_wine
ok
(
encryptedBlobSize
==
55
,
"unexpected size of encrypted blob %d
\n
"
,
encryptedBlobSize
);
ok
(
ret
||
broken
(
!
ret
&&
GetLastError
()
==
NTE_PERM
),
/* some NT4 */
"CryptEncryptMessage failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
todo_wine
ok
(
encryptedBlobSize
==
55
,
"unexpected size of encrypted blob %d
\n
"
,
encryptedBlobSize
);
}
CryptMemFree
(
encryptedBlob
);
}
}
...
...
@@ -1345,7 +1350,9 @@ static void test_encrypt_message(void)
ret
=
CryptEncryptMessage
(
&
para
,
2
,
certs
,
blob
,
sizeof
(
blob
),
encryptedBlob
,
&
encryptedBlobSize
);
todo_wine
ok
(
ret
,
"CryptEncryptMessage failed: %08x
\n
"
,
GetLastError
());
ok
(
ret
||
broken
(
!
ret
),
/* some Win95 and some NT4 */
"CryptEncryptMessage failed: %08x
\n
"
,
GetLastError
());
CryptMemFree
(
encryptedBlob
);
}
}
...
...
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