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
bad1e17e
Commit
bad1e17e
authored
Apr 30, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptdlg: Add stubs for CertTrustInit, CertTrustCertPolicy, CertTrustCleanup and…
cryptdlg: Add stubs for CertTrustInit, CertTrustCertPolicy, CertTrustCleanup and CertTrustFinalPolicy.
parent
e71219e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
4 deletions
+47
-4
cryptdlg.spec
dlls/cryptdlg/cryptdlg.spec
+4
-4
main.c
dlls/cryptdlg/main.c
+43
-0
No files found.
dlls/cryptdlg/cryptdlg.spec
View file @
bad1e17e
1 stub CertConfigureTrustA
2 stub CertConfigureTrustW
3 st
ub CertTrustCertPolicy
4 st
ub CertTrustCleanup
5 st
ub CertTrustFinalPolicy
6 st
ub CertTrustInit
3 st
dcall CertTrustCertPolicy(ptr long long long)
4 st
dcall CertTrustCleanup(ptr)
5 st
dcall CertTrustFinalPolicy(ptr)
6 st
dcall CertTrustInit(ptr)
7 stub DecodeAttrSequence
8 stub DecodeRecipientID
9 stub EncodeAttrSequence
...
...
dlls/cryptdlg/main.c
View file @
bad1e17e
...
...
@@ -23,6 +23,7 @@
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wintrust.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
cryptdlg
);
...
...
@@ -46,6 +47,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
/***********************************************************************
* GetFriendlyNameOfCertA (CRYPTDLG.@)
*/
DWORD
GetFriendlyNameOfCertA
(
PCCERT_CONTEXT
pccert
,
LPSTR
pchBuffer
,
DWORD
cchBuffer
)
{
...
...
@@ -53,9 +57,48 @@ DWORD GetFriendlyNameOfCertA(PCCERT_CONTEXT pccert, LPSTR pchBuffer,
pchBuffer
,
cchBuffer
);
}
/***********************************************************************
* GetFriendlyNameOfCertW (CRYPTDLG.@)
*/
DWORD
GetFriendlyNameOfCertW
(
PCCERT_CONTEXT
pccert
,
LPWSTR
pchBuffer
,
DWORD
cchBuffer
)
{
return
CertGetNameStringW
(
pccert
,
CERT_NAME_FRIENDLY_DISPLAY_TYPE
,
0
,
NULL
,
pchBuffer
,
cchBuffer
);
}
/***********************************************************************
* CertTrustInit (CRYPTDLG.@)
*/
HRESULT
WINAPI
CertTrustInit
(
CRYPT_PROVIDER_DATA
*
pProvData
)
{
FIXME
(
"(%p)
\n
"
,
pProvData
);
return
E_NOTIMPL
;
}
/***********************************************************************
* CertTrustCertPolicy (CRYPTDLG.@)
*/
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
);
return
FALSE
;
}
/***********************************************************************
* CertTrustCleanup (CRYPTDLG.@)
*/
HRESULT
WINAPI
CertTrustCleanup
(
CRYPT_PROVIDER_DATA
*
pProvData
)
{
FIXME
(
"(%p)
\n
"
,
pProvData
);
return
E_NOTIMPL
;
}
/***********************************************************************
* CertTrustFinalPolicy (CRYPTDLG.@)
*/
HRESULT
WINAPI
CertTrustFinalPolicy
(
CRYPT_PROVIDER_DATA
*
pProvData
)
{
FIXME
(
"(%p)
\n
"
,
pProvData
);
return
E_NOTIMPL
;
}
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