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
45b2bdc9
Commit
45b2bdc9
authored
Dec 09, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0c1bb117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
cryptui.c
dlls/cryptui/tests/cryptui.c
+4
-10
No files found.
dlls/cryptui/tests/cryptui.c
View file @
45b2bdc9
...
...
@@ -398,9 +398,8 @@ static void test_crypt_ui_wiz_import(void)
ok
(
ret
,
"CryptUIWizImport failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
static
const
WCHAR
CA
[]
=
{
'C'
,
'A'
,
0
};
HCERTSTORE
ca
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM_W
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
,
CA
);
CERT_SYSTEM_STORE_CURRENT_USER
,
L"CA"
);
if
(
ca
)
{
...
...
@@ -422,10 +421,8 @@ static void test_crypt_ui_wiz_import(void)
ok
(
ret
,
"CryptUIWizImport failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
static
const
WCHAR
AddressBook
[]
=
{
'A'
,
'd'
,
'd'
,
'r'
,
'e'
,
's'
,
's'
,
'B'
,
'o'
,
'o'
,
'k'
,
0
};
HCERTSTORE
addressBook
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM_W
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
,
AddressBook
);
CERT_SYSTEM_STORE_CURRENT_USER
,
L"AddressBook"
);
if
(
addressBook
)
{
...
...
@@ -476,10 +473,8 @@ static void test_crypt_ui_wiz_import(void)
ok
(
ret
,
"CryptUIWizImport failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
static
const
WCHAR
AddressBook
[]
=
{
'A'
,
'd'
,
'd'
,
'r'
,
'e'
,
's'
,
's'
,
'B'
,
'o'
,
'o'
,
'k'
,
0
};
HCERTSTORE
addressBook
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM_W
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
,
AddressBook
);
CERT_SYSTEM_STORE_CURRENT_USER
,
L"AddressBook"
);
if
(
addressBook
)
{
...
...
@@ -499,9 +494,8 @@ static void test_crypt_ui_wiz_import(void)
ok
(
ret
,
"CryptUIWizImport failed: %08x
\n
"
,
GetLastError
());
if
(
ret
)
{
static
const
WCHAR
CA
[]
=
{
'C'
,
'A'
,
0
};
HCERTSTORE
ca
=
CertOpenStore
(
CERT_STORE_PROV_SYSTEM_W
,
0
,
0
,
CERT_SYSTEM_STORE_CURRENT_USER
,
CA
);
CERT_SYSTEM_STORE_CURRENT_USER
,
L"CA"
);
if
(
ca
)
{
...
...
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