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
88a1ecb6
Commit
88a1ecb6
authored
Oct 16, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix a few more test failures.
parent
2c9517d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
encode.c
dlls/crypt32/tests/encode.c
+5
-4
No files found.
dlls/crypt32/tests/encode.c
View file @
88a1ecb6
...
...
@@ -469,7 +469,7 @@ static void testTimeEncoding(DWORD dwEncoding, LPCSTR structType,
}
}
else
ok
(
!
ret
&&
GetLastError
()
==
CRYPT_E_BAD_ENCODE
,
ok
(
(
!
ret
&&
GetLastError
()
==
CRYPT_E_BAD_ENCODE
)
||
broken
(
ret
)
,
"Expected CRYPT_E_BAD_ENCODE, got 0x%08x
\n
"
,
GetLastError
());
}
...
...
@@ -526,7 +526,8 @@ static void testTimeDecoding(DWORD dwEncoding, LPCSTR structType,
{
ok
(
ret
,
"CryptDecodeObjectEx failed: %d (0x%08x)
\n
"
,
GetLastError
(),
GetLastError
());
compareTime
(
&
time
->
sysTime
,
&
ft
);
if
(
ret
)
compareTime
(
&
time
->
sysTime
,
&
ft
);
}
else
ok
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_ASN1_BADTAG
||
...
...
@@ -5698,8 +5699,8 @@ static void test_decodePKCSContentInfo(DWORD dwEncoding)
/* Native fails with CRYPT_E_ASN1_EOD, accept also CRYPT_E_ASN1_CORRUPT as
* I doubt an app depends on that.
*/
ok
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_ASN1_EOD
||
GetLastError
()
==
CRYPT_E_ASN1_CORRUPT
),
ok
(
(
!
ret
&&
(
GetLastError
()
==
CRYPT_E_ASN1_EOD
||
GetLastError
()
==
CRYPT_E_ASN1_CORRUPT
)
)
||
broken
(
ret
)
,
"Expected CRYPT_E_ASN1_EOD or CRYPT_E_ASN1_CORRUPT, got %x
\n
"
,
GetLastError
());
ret
=
pCryptDecodeObjectEx
(
dwEncoding
,
PKCS_CONTENT_INFO
,
...
...
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