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
68b05205
Commit
68b05205
authored
Jun 29, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Use skip to avoid failures where support is missing.
parent
ddb4be2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
encode.c
dlls/crypt32/tests/encode.c
+10
-0
No files found.
dlls/crypt32/tests/encode.c
View file @
68b05205
...
...
@@ -3086,6 +3086,11 @@ static void test_encodeCRLIssuingDistPoint(DWORD dwEncoding)
ret
=
CryptEncodeObjectEx
(
dwEncoding
,
X509_ISSUING_DIST_POINT
,
NULL
,
CRYPT_ENCODE_ALLOC_FLAG
,
NULL
,
(
BYTE
*
)
&
buf
,
&
size
);
if
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
{
skip
(
"no X509_ISSUING_DIST_POINT encode support
\n
"
);
return
;
}
ok
(
!
ret
&&
GetLastError
()
==
STATUS_ACCESS_VIOLATION
,
"Expected STATUS_ACCESS_VIOLATION, got %08x
\n
"
,
GetLastError
());
ret
=
CryptEncodeObjectEx
(
dwEncoding
,
X509_ISSUING_DIST_POINT
,
&
point
,
...
...
@@ -3218,6 +3223,11 @@ static void test_decodeCRLIssuingDistPoint(DWORD dwEncoding)
ret
=
CryptDecodeObjectEx
(
dwEncoding
,
X509_ISSUING_DIST_POINT
,
emptySequence
,
emptySequence
[
1
]
+
2
,
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
(
BYTE
*
)
&
buf
,
&
size
);
if
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
{
skip
(
"no X509_ISSUING_DIST_POINT decode support
\n
"
);
return
;
}
ok
(
ret
,
"CryptDecodeObjectEx failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
...
...
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