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
0febf5fb
Commit
0febf5fb
authored
Jun 16, 2004
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jun 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unused variable warning.
parent
ed4bc907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
main.c
dlls/rsabase/main.c
+11
-11
No files found.
dlls/rsabase/main.c
View file @
0febf5fb
...
...
@@ -98,7 +98,6 @@ BOOL WINAPI RSA_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
DWORD
dwFlags
,
PVTableProvStruc
pVTable
)
{
BOOL
ret
=
FALSE
;
RSA_CryptProv
*
cp
;
TRACE
(
"%p %s %08lx %p
\n
"
,
phProv
,
debugstr_a
(
pszContainer
),
dwFlags
,
pVTable
);
...
...
@@ -107,19 +106,20 @@ BOOL WINAPI RSA_CPAcquireContext(HCRYPTPROV *phProv, LPSTR pszContainer,
if
(
!
load_libcrypto
()
)
return
FALSE
;
cp
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
RSA_CryptProv
)
);
if
(
!
cp
)
else
{
SetLastError
(
ERROR_NOT_ENOUGH_MEMORY
);
return
FALSE
;
}
cp
->
dwMagic
=
RSABASE_MAGIC
;
RSA_CryptProv
*
cp
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
RSA_CryptProv
)
);
if
(
!
cp
)
{
SetLastError
(
ERROR_NOT_ENOUGH_MEMORY
);
return
FALSE
;
}
*
phProv
=
(
HCRYPTPROV
)
cp
;
ret
=
TRUE
;
cp
->
dwMagic
=
RSABASE_MAGIC
;
*
phProv
=
(
HCRYPTPROV
)
cp
;
ret
=
TRUE
;
}
#endif
return
ret
;
...
...
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