Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
06bc59cd
Commit
06bc59cd
authored
May 16, 2006
by
Juan Lang
Committed by
Alexandre Julliard
May 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of CRYPT_CreateCertificateContext, it's not needed anymore.
parent
09f0ea1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
store.c
dlls/crypt32/store.c
+5
-20
No files found.
dlls/crypt32/store.c
View file @
06bc59cd
...
...
@@ -1749,10 +1749,8 @@ PCCRL_CONTEXT WINAPI CertCreateCRLContext( DWORD dwCertEncodingType,
return
pcrl
;
}
/* Decodes the encoded certificate and creates the certificate context for it.
*/
static
PWINE_CERT_CONTEXT
CRYPT_CreateCertificateContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCertEncoded
,
DWORD
cbCertEncoded
)
PCCERT_CONTEXT
WINAPI
CertCreateCertificateContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCertEncoded
,
DWORD
cbCertEncoded
)
{
PWINE_CERT_CONTEXT_DATA
cert
=
NULL
;
BOOL
ret
;
...
...
@@ -1809,19 +1807,6 @@ static PWINE_CERT_CONTEXT CRYPT_CreateCertificateContext(
}
end:
return
(
PWINE_CERT_CONTEXT
)
cert
;
}
PCCERT_CONTEXT
WINAPI
CertCreateCertificateContext
(
DWORD
dwCertEncodingType
,
const
BYTE
*
pbCertEncoded
,
DWORD
cbCertEncoded
)
{
PWINE_CERT_CONTEXT
cert
;
TRACE
(
"(%08lx, %p, %ld)
\n
"
,
dwCertEncodingType
,
pbCertEncoded
,
cbCertEncoded
);
cert
=
CRYPT_CreateCertificateContext
(
dwCertEncodingType
,
pbCertEncoded
,
cbCertEncoded
);
return
(
PCCERT_CONTEXT
)
cert
;
}
...
...
@@ -2293,14 +2278,14 @@ BOOL WINAPI CertAddEncodedCertificateToStore(HCERTSTORE hCertStore,
ret
=
FALSE
;
else
{
P
WINE_CERT_CONTEXT
cert
=
CRYPT_
CreateCertificateContext
(
P
CCERT_CONTEXT
cert
=
Cert
CreateCertificateContext
(
dwCertEncodingType
,
pbCertEncoded
,
cbCertEncoded
);
if
(
cert
)
{
ret
=
CertAddCertificateContextToStore
(
hCertStore
,
(
PCCERT_CONTEXT
)
cert
,
dwAddDisposition
,
ppCertContext
);
CertFreeCertificateContext
(
(
PCCERT_CONTEXT
)
cert
);
cert
,
dwAddDisposition
,
ppCertContext
);
CertFreeCertificateContext
(
cert
);
}
else
ret
=
FALSE
;
...
...
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