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
b9c122f1
Commit
b9c122f1
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: Skip more tests.
parent
387ed3c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
msg.c
dlls/crypt32/tests/msg.c
+13
-16
No files found.
dlls/crypt32/tests/msg.c
View file @
b9c122f1
...
...
@@ -2078,7 +2078,6 @@ static void test_enveloped_msg_open(void)
"expected E_INVALIDARG, got %08x
\n
"
,
GetLastError
());
}
SetLastError
(
0xdeadbeef
);
context
=
CertCreateCertificateContext
(
X509_ASN_ENCODING
,
v1CertWithValidPubKey
,
sizeof
(
v1CertWithValidPubKey
));
if
(
context
)
...
...
@@ -2090,23 +2089,21 @@ static void test_enveloped_msg_open(void)
todo_wine
ok
(
msg
!=
NULL
,
"CryptMsgOpenToEncode failed: %08x
\n
"
,
GetLastError
());
CryptMsgClose
(
msg
);
SetLastError
(
0xdeadbeef
);
ret
=
pCryptAcquireContextA
(
&
envelopedInfo
.
hCryptProv
,
NULL
,
NULL
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
ok
(
ret
,
"CryptAcquireContextA failed: %08x
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
msg
=
CryptMsgOpenToEncode
(
PKCS_7_ASN_ENCODING
,
0
,
CMSG_ENVELOPED
,
&
envelopedInfo
,
NULL
,
NULL
);
todo_wine
ok
(
msg
!=
NULL
,
"CryptMsgOpenToEncode failed: %08x
\n
"
,
GetLastError
());
CryptMsgClose
(
msg
);
CryptReleaseContext
(
envelopedInfo
.
hCryptProv
,
0
);
CertFreeCertificateContext
(
context
);
}
else
win_skip
(
"failed to create certificate context, skipping a test
\n
"
);
SetLastError
(
0xdeadbeef
);
ret
=
pCryptAcquireContextA
(
&
envelopedInfo
.
hCryptProv
,
NULL
,
NULL
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
ok
(
ret
,
"CryptAcquireContextA failed: %08x
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
msg
=
CryptMsgOpenToEncode
(
PKCS_7_ASN_ENCODING
,
0
,
CMSG_ENVELOPED
,
&
envelopedInfo
,
NULL
,
NULL
);
todo_wine
ok
(
msg
!=
NULL
,
"CryptMsgOpenToEncode failed: %08x
\n
"
,
GetLastError
());
CryptMsgClose
(
msg
);
CryptReleaseContext
(
envelopedInfo
.
hCryptProv
,
0
);
CertFreeCertificateContext
(
context
);
win_skip
(
"failed to create certificate context, skipping tests
\n
"
);
}
static
void
test_enveloped_msg_update
(
void
)
...
...
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