Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8729e695
Commit
8729e695
authored
Nov 14, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Nov 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement decoding CERT_POLICY_QUALIFIER_USER_NOTICE.
parent
3dd2cc5e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
268 additions
and
4 deletions
+268
-4
decode.c
dlls/crypt32/decode.c
+266
-0
encode.c
dlls/crypt32/tests/encode.c
+2
-4
No files found.
dlls/crypt32/decode.c
View file @
8729e695
This diff is collapsed.
Click to expand it.
dlls/crypt32/tests/encode.c
View file @
8729e695
...
...
@@ -7109,7 +7109,6 @@ static void test_decodePolicyQualifierUserNotice(DWORD dwEncoding)
X509_PKIX_POLICY_QUALIFIER_USERNOTICE
,
emptySequence
,
sizeof
(
emptySequence
),
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
&
notice
,
&
size
);
todo_wine
ok
(
ret
,
"CryptDecodeObjectEx failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
...
...
@@ -7121,7 +7120,6 @@ static void test_decodePolicyQualifierUserNotice(DWORD dwEncoding)
X509_PKIX_POLICY_QUALIFIER_USERNOTICE
,
noticeWithDisplayText
,
sizeof
(
noticeWithDisplayText
),
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
&
notice
,
&
size
);
todo_wine
ok
(
ret
,
"CryptDecodeObjectEx failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
...
...
@@ -7134,7 +7132,6 @@ static void test_decodePolicyQualifierUserNotice(DWORD dwEncoding)
X509_PKIX_POLICY_QUALIFIER_USERNOTICE
,
noticeWithReference
,
sizeof
(
noticeWithReference
),
CRYPT_DECODE_ALLOC_FLAG
,
NULL
,
&
notice
,
&
size
);
todo_wine
ok
(
ret
,
"CryptDecodeObjectEx failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
...
...
@@ -7144,7 +7141,8 @@ static void test_decodePolicyQualifierUserNotice(DWORD dwEncoding)
if
(
notice
->
pNoticeReference
)
{
ok
(
!
strcmp
(
notice
->
pNoticeReference
->
pszOrganization
,
org
),
"unexpected organization
\n
"
);
"unexpected organization %s
\n
"
,
notice
->
pNoticeReference
->
pszOrganization
);
ok
(
notice
->
pNoticeReference
->
cNoticeNumbers
==
2
,
"expected 2 notice numbers, got %d
\n
"
,
notice
->
pNoticeReference
->
cNoticeNumbers
);
...
...
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