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
ff833ee2
Commit
ff833ee2
authored
Dec 18, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix test crash on Win9x.
parent
5e66808a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
crypt.c
dlls/wintrust/tests/crypt.c
+6
-12
No files found.
dlls/wintrust/tests/crypt.c
View file @
ff833ee2
...
@@ -116,12 +116,6 @@ static void test_context(void)
...
@@ -116,12 +116,6 @@ static void test_context(void)
CHAR
windir
[
MAX_PATH
],
catroot
[
MAX_PATH
],
catroot2
[
MAX_PATH
],
dummydir
[
MAX_PATH
];
CHAR
windir
[
MAX_PATH
],
catroot
[
MAX_PATH
],
catroot2
[
MAX_PATH
],
dummydir
[
MAX_PATH
];
DWORD
attrs
;
DWORD
attrs
;
if
(
!
pCryptCATAdminAcquireContext
||
!
pCryptCATAdminReleaseContext
)
{
skip
(
"CryptCATAdminAcquireContext and/or CryptCATAdminReleaseContext are not available
\n
"
);
return
;
}
/* When CryptCATAdminAcquireContext is successful it will create
/* When CryptCATAdminAcquireContext is successful it will create
* several directories if they don't exist:
* several directories if they don't exist:
*
*
...
@@ -262,12 +256,6 @@ static void test_calchash(void)
...
@@ -262,12 +256,6 @@ static void test_calchash(void)
CHAR
temp
[
MAX_PATH
];
CHAR
temp
[
MAX_PATH
];
DWORD
written
;
DWORD
written
;
if
(
!
pCryptCATAdminCalcHashFromFileHandle
)
{
skip
(
"CryptCATAdminCalcHashFromFileHandle is not available
\n
"
);
return
;
}
/* All NULL */
/* All NULL */
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pCryptCATAdminCalcHashFromFileHandle
(
NULL
,
NULL
,
NULL
,
0
);
ret
=
pCryptCATAdminCalcHashFromFileHandle
(
NULL
,
NULL
,
NULL
,
0
);
...
@@ -438,6 +426,12 @@ START_TEST(crypt)
...
@@ -438,6 +426,12 @@ START_TEST(crypt)
InitFunctionPtrs
();
InitFunctionPtrs
();
if
(
!
pCryptCATAdminAcquireContext
)
{
win_skip
(
"CryptCATAdmin functions are not available
\n
"
);
return
;
}
myARGC
=
winetest_get_mainargs
(
&
myARGV
);
myARGC
=
winetest_get_mainargs
(
&
myARGV
);
strcpy
(
selfname
,
myARGV
[
0
]);
strcpy
(
selfname
,
myARGV
[
0
]);
...
...
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