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
1d5a8b2f
Commit
1d5a8b2f
authored
Jul 09, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement CryptSIPGetSignedDataMsg, CryptSIPPutSignedDataMsg,
CryptSIPCreateIndirectData, CryptSIPVerifyIndirectData, and CryptSIPRemoveSignedDataMsg.
parent
19c3a09b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
10 deletions
+37
-10
sip.c
dlls/crypt32/sip.c
+37
-10
No files found.
dlls/crypt32/sip.c
View file @
1d5a8b2f
...
...
@@ -568,9 +568,14 @@ BOOL WINAPI CryptSIPLoad
BOOL
WINAPI
CryptSIPCreateIndirectData
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
DWORD
*
pcbIndirectData
,
SIP_INDIRECT_DATA
*
pIndirectData
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
pSubjectInfo
,
pcbIndirectData
,
pIndirectData
);
WINE_SIP_PROVIDER
*
sip
;
BOOL
ret
=
FALSE
;
return
FALSE
;
TRACE
(
"(%p %p %p)
\n
"
,
pSubjectInfo
,
pcbIndirectData
,
pIndirectData
);
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfCreate
(
pSubjectInfo
,
pcbIndirectData
,
pIndirectData
);
return
ret
;
}
/***********************************************************************
...
...
@@ -579,10 +584,16 @@ BOOL WINAPI CryptSIPCreateIndirectData(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pcb
BOOL
WINAPI
CryptSIPGetSignedDataMsg
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
DWORD
*
pdwEncodingType
,
DWORD
dwIndex
,
DWORD
*
pcbSignedDataMsg
,
BYTE
*
pbSignedDataMsg
)
{
FIXME
(
"(%p %p %d %p %p) stub
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
WINE_SIP_PROVIDER
*
sip
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%p %p %d %p %p)
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
pcbSignedDataMsg
,
pbSignedDataMsg
);
return
FALSE
;
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfGet
(
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
pcbSignedDataMsg
,
pbSignedDataMsg
);
return
ret
;
}
/***********************************************************************
...
...
@@ -591,10 +602,16 @@ BOOL WINAPI CryptSIPGetSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pdwEn
BOOL
WINAPI
CryptSIPPutSignedDataMsg
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
DWORD
pdwEncodingType
,
DWORD
*
pdwIndex
,
DWORD
cbSignedDataMsg
,
BYTE
*
pbSignedDataMsg
)
{
FIXME
(
"(%p %d %p %d %p) stub
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
pdwIndex
,
WINE_SIP_PROVIDER
*
sip
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%p %d %p %d %p)
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
pdwIndex
,
cbSignedDataMsg
,
pbSignedDataMsg
);
return
FALSE
;
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfPut
(
pSubjectInfo
,
pdwEncodingType
,
pdwIndex
,
cbSignedDataMsg
,
pbSignedDataMsg
);
return
ret
;
}
/***********************************************************************
...
...
@@ -603,9 +620,14 @@ BOOL WINAPI CryptSIPPutSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, DWORD pdwEnc
BOOL
WINAPI
CryptSIPRemoveSignedDataMsg
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
DWORD
dwIndex
)
{
FIXME
(
"(%p %d) stub
\n
"
,
pSubjectInfo
,
dwIndex
);
WINE_SIP_PROVIDER
*
sip
;
BOOL
ret
=
FALSE
;
return
FALSE
;
TRACE
(
"(%p %d)
\n
"
,
pSubjectInfo
,
dwIndex
);
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfRemove
(
pSubjectInfo
,
dwIndex
);
return
ret
;
}
/***********************************************************************
...
...
@@ -614,7 +636,12 @@ BOOL WINAPI CryptSIPRemoveSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo,
BOOL
WINAPI
CryptSIPVerifyIndirectData
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
SIP_INDIRECT_DATA
*
pIndirectData
)
{
FIXME
(
"(%p %p) stub
\n
"
,
pSubjectInfo
,
pIndirectData
);
WINE_SIP_PROVIDER
*
sip
;
BOOL
ret
=
FALSE
;
return
FALSE
;
TRACE
(
"(%p %p)
\n
"
,
pSubjectInfo
,
pIndirectData
);
if
((
sip
=
CRYPT_GetCachedSIP
(
pSubjectInfo
->
pgSubjectType
)))
ret
=
sip
->
info
.
pfVerify
(
pSubjectInfo
,
pIndirectData
);
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