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
7bd5f72a
Commit
7bd5f72a
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptdlg: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5fc99b35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/cryptdlg/Makefile.in
+0
-1
main.c
dlls/cryptdlg/main.c
+5
-5
No files found.
dlls/cryptdlg/Makefile.in
View file @
7bd5f72a
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
cryptdlg.dll
MODULE
=
cryptdlg.dll
IMPORTS
=
cryptui crypt32 wintrust user32 advapi32
IMPORTS
=
cryptui crypt32 wintrust user32 advapi32
...
...
dlls/cryptdlg/main.c
View file @
7bd5f72a
...
@@ -39,7 +39,7 @@ static HINSTANCE hInstance;
...
@@ -39,7 +39,7 @@ static HINSTANCE hInstance;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(0x%p, %
l
d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
switch
(
fdwReason
)
{
{
...
@@ -83,7 +83,7 @@ HRESULT WINAPI CertTrustInit(CRYPT_PROVIDER_DATA *pProvData)
...
@@ -83,7 +83,7 @@ HRESULT WINAPI CertTrustInit(CRYPT_PROVIDER_DATA *pProvData)
if
(
pProvData
->
padwTrustStepErrors
&&
if
(
pProvData
->
padwTrustStepErrors
&&
!
pProvData
->
padwTrustStepErrors
[
TRUSTERROR_STEP_FINAL_WVTINIT
])
!
pProvData
->
padwTrustStepErrors
[
TRUSTERROR_STEP_FINAL_WVTINIT
])
ret
=
S_OK
;
ret
=
S_OK
;
TRACE
(
"returning %08x
\n
"
,
ret
);
TRACE
(
"returning %08
l
x
\n
"
,
ret
);
return
ret
;
return
ret
;
}
}
...
@@ -92,7 +92,7 @@ HRESULT WINAPI CertTrustInit(CRYPT_PROVIDER_DATA *pProvData)
...
@@ -92,7 +92,7 @@ HRESULT WINAPI CertTrustInit(CRYPT_PROVIDER_DATA *pProvData)
*/
*/
BOOL
WINAPI
CertTrustCertPolicy
(
CRYPT_PROVIDER_DATA
*
pProvData
,
DWORD
idxSigner
,
BOOL
fCounterSignerChain
,
DWORD
idxCounterSigner
)
BOOL
WINAPI
CertTrustCertPolicy
(
CRYPT_PROVIDER_DATA
*
pProvData
,
DWORD
idxSigner
,
BOOL
fCounterSignerChain
,
DWORD
idxCounterSigner
)
{
{
FIXME
(
"(%p, %
d, %s, %
d)
\n
"
,
pProvData
,
idxSigner
,
fCounterSignerChain
?
"TRUE"
:
"FALSE"
,
idxCounterSigner
);
FIXME
(
"(%p, %
ld, %s, %l
d)
\n
"
,
pProvData
,
idxSigner
,
fCounterSignerChain
?
"TRUE"
:
"FALSE"
,
idxCounterSigner
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -295,7 +295,7 @@ HRESULT WINAPI CertTrustFinalPolicy(CRYPT_PROVIDER_DATA *data)
...
@@ -295,7 +295,7 @@ HRESULT WINAPI CertTrustFinalPolicy(CRYPT_PROVIDER_DATA *data)
TRACE
(
"(%p)
\n
"
,
data
);
TRACE
(
"(%p)
\n
"
,
data
);
if
(
data
->
pWintrustData
->
dwUIChoice
!=
WTD_UI_NONE
)
if
(
data
->
pWintrustData
->
dwUIChoice
!=
WTD_UI_NONE
)
FIXME
(
"unimplemented for UI choice %d
\n
"
,
FIXME
(
"unimplemented for UI choice %
l
d
\n
"
,
data
->
pWintrustData
->
dwUIChoice
);
data
->
pWintrustData
->
dwUIChoice
);
if
(
pCert
)
if
(
pCert
)
{
{
...
@@ -354,7 +354,7 @@ HRESULT WINAPI CertTrustFinalPolicy(CRYPT_PROVIDER_DATA *data)
...
@@ -354,7 +354,7 @@ HRESULT WINAPI CertTrustFinalPolicy(CRYPT_PROVIDER_DATA *data)
*/
*/
if
(
!
ret
)
if
(
!
ret
)
data
->
dwFinalError
=
err
;
data
->
dwFinalError
=
err
;
TRACE
(
"returning %
d (%08
x)
\n
"
,
S_OK
,
data
->
dwFinalError
);
TRACE
(
"returning %
ld (%08l
x)
\n
"
,
S_OK
,
data
->
dwFinalError
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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