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
8082477d
Commit
8082477d
authored
Sep 13, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Sep 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Move the Crypt* functions to crypt.c.
parent
a89db155
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
69 deletions
+70
-69
crypt.c
dlls/wintrust/crypt.c
+70
-0
wintrust_main.c
dlls/wintrust/wintrust_main.c
+0
-69
No files found.
dlls/wintrust/crypt.c
View file @
8082477d
...
...
@@ -23,12 +23,82 @@
#include "windef.h"
#include "winbase.h"
#include "wintrust.h"
#include "mscat.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wintrust
);
/***********************************************************************
* CryptCATAdminAcquireContext (WINTRUST.@)
*
* Get a catalog administrator context handle.
*
* PARAMS
* catAdmin [O] Pointer to the context handle.
* sysSystem [I] Pointer to a GUID for the needed subsystem.
* dwFlags [I] Reserved.
*
* RETURNS
* Success: TRUE. catAdmin contains the context handle.
* Failure: FAIL.
*
*/
BOOL
WINAPI
CryptCATAdminAcquireContext
(
HCATADMIN
*
catAdmin
,
const
GUID
*
sysSystem
,
DWORD
dwFlags
)
{
FIXME
(
"%p %s %lx
\n
"
,
catAdmin
,
debugstr_guid
(
sysSystem
),
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* CryptCATAdminCalcHashFromFileHandle (WINTRUST.@)
*/
BOOL
WINAPI
CryptCATAdminCalcHashFromFileHandle
(
HANDLE
hFile
,
DWORD
*
pcbHash
,
BYTE
*
pbHash
,
DWORD
dwFlags
)
{
FIXME
(
"%p %p %p %lx
\n
"
,
hFile
,
pcbHash
,
pbHash
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* CryptCATAdminEnumCatalogFromHash (WINTRUST.@)
*/
HCATINFO
WINAPI
CryptCATAdminEnumCatalogFromHash
(
HCATADMIN
hCatAdmin
,
BYTE
*
pbHash
,
DWORD
cbHash
,
DWORD
dwFlags
,
HCATINFO
*
phPrevCatInfo
)
{
FIXME
(
"%p %p %ld %ld %p
\n
"
,
hCatAdmin
,
pbHash
,
cbHash
,
dwFlags
,
phPrevCatInfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
/***********************************************************************
* CryptCATAdminReleaseContext (WINTRUST.@)
*
* Release a catalog administrator context handle.
*
* PARAMS
* catAdmin [I] Pointer to the context handle.
* dwFlags [I] Reserved.
*
* RETURNS
* Success: TRUE.
* Failure: FAIL.
*
*/
BOOL
WINAPI
CryptCATAdminReleaseContext
(
HCATADMIN
hCatAdmin
,
DWORD
dwFlags
)
{
FIXME
(
"%p %lx
\n
"
,
hCatAdmin
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* CryptCATOpen (WINTRUST.@)
*/
HANDLE
WINAPI
CryptCATOpen
(
LPWSTR
pwszFileName
,
DWORD
fdwOpenFlags
,
HCRYPTPROV
hProv
,
...
...
dlls/wintrust/wintrust_main.c
View file @
8082477d
...
...
@@ -51,75 +51,6 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
}
/***********************************************************************
* CryptCATAdminAcquireContext (WINTRUST.@)
*
* Get a catalog administrator context handle.
*
* PARAMS
* catAdmin [O] Pointer to the context handle.
* sysSystem [I] Pointer to a GUID for the needed subsystem.
* dwFlags [I] Reserved.
*
* RETURNS
* Success: TRUE. catAdmin contains the context handle.
* Failure: FAIL.
*
*/
BOOL
WINAPI
CryptCATAdminAcquireContext
(
HCATADMIN
*
catAdmin
,
const
GUID
*
sysSystem
,
DWORD
dwFlags
)
{
FIXME
(
"%p %s %lx
\n
"
,
catAdmin
,
debugstr_guid
(
sysSystem
),
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* CryptCATAdminCalcHashFromFileHandle (WINTRUST.@)
*/
BOOL
WINAPI
CryptCATAdminCalcHashFromFileHandle
(
HANDLE
hFile
,
DWORD
*
pcbHash
,
BYTE
*
pbHash
,
DWORD
dwFlags
)
{
FIXME
(
"%p %p %p %lx
\n
"
,
hFile
,
pcbHash
,
pbHash
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* CryptCATAdminEnumCatalogFromHash (WINTRUST.@)
*/
HCATINFO
WINAPI
CryptCATAdminEnumCatalogFromHash
(
HCATADMIN
hCatAdmin
,
BYTE
*
pbHash
,
DWORD
cbHash
,
DWORD
dwFlags
,
HCATINFO
*
phPrevCatInfo
)
{
FIXME
(
"%p %p %ld %ld %p
\n
"
,
hCatAdmin
,
pbHash
,
cbHash
,
dwFlags
,
phPrevCatInfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
/***********************************************************************
* CryptCATAdminReleaseContext (WINTRUST.@)
*
* Release a catalog administrator context handle.
*
* PARAMS
* catAdmin [I] Pointer to the context handle.
* dwFlags [I] Reserved.
*
* RETURNS
* Success: TRUE.
* Failure: FAIL.
*
*/
BOOL
WINAPI
CryptCATAdminReleaseContext
(
HCATADMIN
hCatAdmin
,
DWORD
dwFlags
)
{
FIXME
(
"%p %lx
\n
"
,
hCatAdmin
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* TrustIsCertificateSelfSigned (WINTRUST.@)
*/
BOOL
WINAPI
TrustIsCertificateSelfSigned
(
PCCERT_CONTEXT
cert
)
...
...
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