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
6bf1a6c5
Commit
6bf1a6c5
authored
Mar 02, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Make use of skip.
parent
4de63620
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
crypt_md5.c
dlls/advapi32/tests/crypt_md5.c
+6
-2
No files found.
dlls/advapi32/tests/crypt_md5.c
View file @
6bf1a6c5
...
...
@@ -77,13 +77,17 @@ static void test_md5_ctx(void)
{
0x43
,
0x03
,
0xdd
,
0x8c
,
0x60
,
0xd9
,
0x3a
,
0x22
,
0x0b
,
0x28
,
0xd0
,
0xb2
,
0x65
,
0x93
,
0xd0
,
0x36
};
if
(
!
(
module
=
LoadLibrary
(
"advapi32.dll"
)))
return
;
if
(
!
(
module
=
GetModuleHandleA
(
"advapi32.dll"
)))
return
;
pMD5Init
=
(
fnMD5Init
)
GetProcAddress
(
module
,
"MD5Init"
);
pMD5Update
=
(
fnMD5Update
)
GetProcAddress
(
module
,
"MD5Update"
);
pMD5Final
=
(
fnMD5Final
)
GetProcAddress
(
module
,
"MD5Final"
);
if
(
!
pMD5Init
||
!
pMD5Update
||
!
pMD5Final
)
goto
out
;
if
(
!
pMD5Init
||
!
pMD5Update
||
!
pMD5Final
)
{
skip
(
"Needed functions are not available
\n
"
);
goto
out
;
}
memset
(
&
ctx
,
0
,
sizeof
(
ctx
)
);
pMD5Init
(
&
ctx
);
...
...
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