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
c3ddf0a1
Commit
c3ddf0a1
authored
Jan 04, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsabase/tests: Remove unneeded casts.
parent
88373228
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rsabase.c
dlls/rsabase/tests/rsabase.c
+4
-4
No files found.
dlls/rsabase/tests/rsabase.c
View file @
c3ddf0a1
...
...
@@ -39,13 +39,13 @@ static int init_environment(void)
{
if
(
!
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_NEWKEYSET
))
{
trace
(
"%08x
\n
"
,
(
unsigned
int
)
GetLastError
());
trace
(
"%08x
\n
"
,
GetLastError
());
return
0
;
}
}
else
{
trace
(
"%08x
\n
"
,
(
unsigned
int
)
GetLastError
());
trace
(
"%08x
\n
"
,
GetLastError
());
return
0
;
}
}
...
...
@@ -67,10 +67,10 @@ static void test_gen_random(void)
memset
(
rnd2
,
0
,
sizeof
(
rnd2
));
result
=
CryptGenRandom
(
hProv
,
sizeof
(
rnd1
),
rnd1
);
ok
(
result
,
"%08x
\n
"
,
(
unsigned
int
)
GetLastError
());
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
result
=
CryptGenRandom
(
hProv
,
sizeof
(
rnd2
),
rnd2
);
ok
(
result
,
"%08x
\n
"
,
(
unsigned
int
)
GetLastError
());
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
memcmp
(
rnd1
,
rnd2
,
sizeof
(
rnd1
)),
"CryptGenRandom generates non random data
\n
"
);
}
...
...
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