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
6e954bd9
Commit
6e954bd9
authored
May 01, 2016
by
Andrey Gusev
Committed by
Alexandre Julliard
May 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix a typo in ok() messages.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2454bbd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
crypt.c
dlls/wintrust/tests/crypt.c
+3
-3
No files found.
dlls/wintrust/tests/crypt.c
View file @
6e954bd9
...
@@ -1233,21 +1233,21 @@ static void test_sip(void)
...
@@ -1233,21 +1233,21 @@ static void test_sip(void)
ok
(
ret
,
"CryptSIPRetrieveSubjectGuid failed (%x)
\n
"
,
GetLastError
());
ok
(
ret
,
"CryptSIPRetrieveSubjectGuid failed (%x)
\n
"
,
GetLastError
());
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeed
d
ed
\n
"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeeded
\n
"
);
index
=
GetLastError
();
index
=
GetLastError
();
ok
(
index
==
ERROR_PATH_NOT_FOUND
,
"GetLastError returned %x
\n
"
,
index
);
ok
(
index
==
ERROR_PATH_NOT_FOUND
,
"GetLastError returned %x
\n
"
,
index
);
info
.
hFile
=
file
;
info
.
hFile
=
file
;
info
.
pwsFileName
=
nameW
;
info
.
pwsFileName
=
nameW
;
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeed
d
ed
\n
"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeeded
\n
"
);
index
=
GetLastError
();
index
=
GetLastError
();
todo_wine
ok
(
index
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned %x
\n
"
,
index
);
todo_wine
ok
(
index
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned %x
\n
"
,
index
);
info
.
hFile
=
INVALID_HANDLE_VALUE
;
info
.
hFile
=
INVALID_HANDLE_VALUE
;
info
.
pwsFileName
=
nameW
;
info
.
pwsFileName
=
nameW
;
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ret
=
pPutSignedDataMsg
(
&
info
,
X509_ASN_ENCODING
,
&
index
,
4
,
(
BYTE
*
)
"test"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeed
d
ed
\n
"
);
ok
(
!
ret
,
"CryptSIPPutSignedDataMsg succeeded
\n
"
);
index
=
GetLastError
();
index
=
GetLastError
();
ok
(
index
==
ERROR_SHARING_VIOLATION
,
"GetLastError returned %x
\n
"
,
index
);
ok
(
index
==
ERROR_SHARING_VIOLATION
,
"GetLastError returned %x
\n
"
,
index
);
...
...
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