Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f83da5cc
Commit
f83da5cc
authored
Jul 12, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't check if msg is NULL, tests show native doesn't either.
parent
a468e6f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
msg.c
dlls/crypt32/msg.c
+2
-8
No files found.
dlls/crypt32/msg.c
View file @
f83da5cc
...
@@ -621,23 +621,17 @@ BOOL WINAPI CryptMsgUpdate(HCRYPTMSG hCryptMsg, const BYTE *pbData,
...
@@ -621,23 +621,17 @@ BOOL WINAPI CryptMsgUpdate(HCRYPTMSG hCryptMsg, const BYTE *pbData,
DWORD
cbData
,
BOOL
fFinal
)
DWORD
cbData
,
BOOL
fFinal
)
{
{
CryptMsgBase
*
msg
=
(
CryptMsgBase
*
)
hCryptMsg
;
CryptMsgBase
*
msg
=
(
CryptMsgBase
*
)
hCryptMsg
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%p, %p, %d, %d)
\n
"
,
hCryptMsg
,
pbData
,
cbData
,
fFinal
);
TRACE
(
"(%p, %p, %d, %d)
\n
"
,
hCryptMsg
,
pbData
,
cbData
,
fFinal
);
if
(
msg
&&
msg
->
update
)
return
msg
->
update
(
hCryptMsg
,
pbData
,
cbData
,
fFinal
);
ret
=
msg
->
update
(
hCryptMsg
,
pbData
,
cbData
,
fFinal
);
return
ret
;
}
}
BOOL
WINAPI
CryptMsgGetParam
(
HCRYPTMSG
hCryptMsg
,
DWORD
dwParamType
,
BOOL
WINAPI
CryptMsgGetParam
(
HCRYPTMSG
hCryptMsg
,
DWORD
dwParamType
,
DWORD
dwIndex
,
void
*
pvData
,
DWORD
*
pcbData
)
DWORD
dwIndex
,
void
*
pvData
,
DWORD
*
pcbData
)
{
{
CryptMsgBase
*
msg
=
(
CryptMsgBase
*
)
hCryptMsg
;
CryptMsgBase
*
msg
=
(
CryptMsgBase
*
)
hCryptMsg
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%p, %d, %d, %p, %p)
\n
"
,
hCryptMsg
,
dwParamType
,
dwIndex
,
TRACE
(
"(%p, %d, %d, %p, %p)
\n
"
,
hCryptMsg
,
dwParamType
,
dwIndex
,
pvData
,
pcbData
);
pvData
,
pcbData
);
if
(
msg
&&
msg
->
get_param
)
return
msg
->
get_param
(
hCryptMsg
,
dwParamType
,
dwIndex
,
pvData
,
pcbData
);
ret
=
msg
->
get_param
(
hCryptMsg
,
dwParamType
,
dwIndex
,
pvData
,
pcbData
);
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