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
ab55435e
Commit
ab55435e
authored
Nov 26, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Nov 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement finding an existing certificate in a store.
parent
b3ff6803
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
cert.c
dlls/crypt32/cert.c
+11
-0
No files found.
dlls/crypt32/cert.c
View file @
ab55435e
...
@@ -1084,6 +1084,14 @@ static BOOL compare_cert_by_issuer(PCCERT_CONTEXT pCertContext, DWORD dwType,
...
@@ -1084,6 +1084,14 @@ static BOOL compare_cert_by_issuer(PCCERT_CONTEXT pCertContext, DWORD dwType,
return
ret
;
return
ret
;
}
}
static
BOOL
compare_existing_cert
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwType
,
DWORD
dwFlags
,
const
void
*
pvPara
)
{
PCCERT_CONTEXT
toCompare
=
(
PCCERT_CONTEXT
)
pvPara
;
return
CertCompareCertificate
(
pCertContext
->
dwCertEncodingType
,
pCertContext
->
pCertInfo
,
toCompare
->
pCertInfo
);
}
PCCERT_CONTEXT
WINAPI
CertFindCertificateInStore
(
HCERTSTORE
hCertStore
,
PCCERT_CONTEXT
WINAPI
CertFindCertificateInStore
(
HCERTSTORE
hCertStore
,
DWORD
dwCertEncodingType
,
DWORD
dwFlags
,
DWORD
dwType
,
const
void
*
pvPara
,
DWORD
dwCertEncodingType
,
DWORD
dwFlags
,
DWORD
dwType
,
const
void
*
pvPara
,
PCCERT_CONTEXT
pPrevCertContext
)
PCCERT_CONTEXT
pPrevCertContext
)
...
@@ -1117,6 +1125,9 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,
...
@@ -1117,6 +1125,9 @@ PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,
case
CERT_COMPARE_ISSUER_OF
:
case
CERT_COMPARE_ISSUER_OF
:
compare
=
compare_cert_by_issuer
;
compare
=
compare_cert_by_issuer
;
break
;
break
;
case
CERT_COMPARE_EXISTING
:
compare
=
compare_existing_cert
;
break
;
default:
default:
FIXME
(
"find type %08x unimplemented
\n
"
,
dwType
);
FIXME
(
"find type %08x unimplemented
\n
"
,
dwType
);
compare
=
NULL
;
compare
=
NULL
;
...
...
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