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
a1f4fac0
Commit
a1f4fac0
authored
Jun 17, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the CryptEncodeObjectEx() prototype.
Fixes winapi_check warnings.
parent
fd738295
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
crypt32.spec
dlls/crypt32/crypt32.spec
+1
-1
encode.c
dlls/crypt32/encode.c
+4
-4
wincrypt.h
include/wincrypt.h
+1
-1
No files found.
dlls/crypt32/crypt32.spec
View file @
a1f4fac0
...
...
@@ -90,7 +90,7 @@
@ stub CryptDecryptAndVerifyMessageSignature
@ stub CryptDecryptMessage
@ stdcall CryptEncodeObject(long str ptr ptr ptr)
@ stdcall CryptEncodeObjectEx(long str ptr long ptr ptr)
@ stdcall CryptEncodeObjectEx(long str ptr long ptr ptr
ptr
)
@ stub CryptEncryptMessage
@ stub CryptEnumOIDFunction
@ stub CryptEnumOIDInfo
...
...
dlls/crypt32/encode.c
View file @
a1f4fac0
...
...
@@ -1211,7 +1211,7 @@ typedef BOOL (WINAPI *CryptEncodeObjectExFunc)(DWORD, LPCSTR, const void *,
BOOL
WINAPI
CryptEncodeObjectEx
(
DWORD
dwCertEncodingType
,
LPCSTR
lpszStructType
,
const
void
*
pvStructInfo
,
DWORD
dwFlags
,
PCRYPT_ENCODE_PARA
pEncodePara
,
BYTE
*
pb
Encoded
,
DWORD
*
pcbEncoded
)
void
*
pv
Encoded
,
DWORD
*
pcbEncoded
)
{
BOOL
ret
=
FALSE
;
HMODULE
lib
=
NULL
;
...
...
@@ -1219,10 +1219,10 @@ BOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType,
TRACE
(
"(0x%08lx, %s, %p, 0x%08lx, %p, %p, %p)
\n
"
,
dwCertEncodingType
,
HIWORD
(
lpszStructType
)
?
debugstr_a
(
lpszStructType
)
:
"(integer value)"
,
pvStructInfo
,
dwFlags
,
pEncodePara
,
p
b
Encoded
,
"(integer value)"
,
pvStructInfo
,
dwFlags
,
pEncodePara
,
p
v
Encoded
,
pcbEncoded
);
if
(
!
p
b
Encoded
&&
!
pcbEncoded
)
if
(
!
p
v
Encoded
&&
!
pcbEncoded
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
...
...
@@ -1287,7 +1287,7 @@ BOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType,
lpszStructType
,
"CryptEncodeObjectEx"
,
&
lib
);
if
(
encodeFunc
)
ret
=
encodeFunc
(
dwCertEncodingType
,
lpszStructType
,
pvStructInfo
,
dwFlags
,
pEncodePara
,
p
b
Encoded
,
pcbEncoded
);
dwFlags
,
pEncodePara
,
p
v
Encoded
,
pcbEncoded
);
else
SetLastError
(
ERROR_FILE_NOT_FOUND
);
if
(
lib
)
...
...
include/wincrypt.h
View file @
a1f4fac0
...
...
@@ -1644,7 +1644,7 @@ BOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType, LPCSTR lpszStructType,
const
void
*
pvStructInfo
,
BYTE
*
pbEncoded
,
DWORD
*
pcbEncoded
);
BOOL
WINAPI
CryptEncodeObjectEx
(
DWORD
dwCertEncodingType
,
LPCSTR
lpszStructType
,
const
void
*
pvStructInfo
,
DWORD
dwFlags
,
PCRYPT_ENCODE_PARA
pEncodePara
,
BYTE
*
pb
Encoded
,
DWORD
*
pcbEncoded
);
void
*
pv
Encoded
,
DWORD
*
pcbEncoded
);
BOOL
WINAPI
CryptDecodeObject
(
DWORD
dwCertEncodingType
,
LPCSTR
lpszStructType
,
const
BYTE
*
pbEncoded
,
DWORD
cbEncoded
,
DWORD
dwFlags
,
void
*
pvStructInfo
,
...
...
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