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
044f6454
Commit
044f6454
authored
Oct 31, 2011
by
Juan Lang
Committed by
Alexandre Julliard
Nov 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Implement ShowX509EncodedCertificate.
parent
8c1f3308
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
Makefile.in
dlls/wininet/Makefile.in
+1
-1
http.c
dlls/wininet/http.c
+22
-2
No files found.
dlls/wininet/Makefile.in
View file @
044f6454
...
@@ -2,7 +2,7 @@ EXTRADEFS = -D_WINX32_
...
@@ -2,7 +2,7 @@ EXTRADEFS = -D_WINX32_
MODULE
=
wininet.dll
MODULE
=
wininet.dll
IMPORTLIB
=
wininet
IMPORTLIB
=
wininet
IMPORTS
=
mpr shlwapi shell32 user32 advapi32
IMPORTS
=
mpr shlwapi shell32 user32 advapi32
DELAYIMPORTS
=
secur32 crypt32
DELAYIMPORTS
=
secur32 crypt32
cryptui
EXTRALIBS
=
@SOCKETLIBS@ @ZLIB@
EXTRALIBS
=
@SOCKETLIBS@ @ZLIB@
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/wininet/http.c
View file @
044f6454
...
@@ -65,6 +65,8 @@
...
@@ -65,6 +65,8 @@
#include "shlwapi.h"
#include "shlwapi.h"
#include "sspi.h"
#include "sspi.h"
#include "wincrypt.h"
#include "wincrypt.h"
#include "winuser.h"
#include "cryptuiapi.h"
#include "internet.h"
#include "internet.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -6077,6 +6079,24 @@ BOOL WINAPI InternetShowSecurityInfoByURLW(LPCWSTR url, HWND window)
...
@@ -6077,6 +6079,24 @@ BOOL WINAPI InternetShowSecurityInfoByURLW(LPCWSTR url, HWND window)
*/
*/
DWORD
WINAPI
ShowX509EncodedCertificate
(
HWND
parent
,
LPBYTE
cert
,
DWORD
len
)
DWORD
WINAPI
ShowX509EncodedCertificate
(
HWND
parent
,
LPBYTE
cert
,
DWORD
len
)
{
{
FIXME
(
"stub: %p %p %u
\n
"
,
parent
,
cert
,
len
);
PCCERT_CONTEXT
certContext
=
CertCreateCertificateContext
(
X509_ASN_ENCODING
,
return
ERROR_CALL_NOT_IMPLEMENTED
;
cert
,
len
);
DWORD
ret
;
if
(
certContext
)
{
CRYPTUI_VIEWCERTIFICATE_STRUCTW
view
;
memset
(
&
view
,
0
,
sizeof
(
view
));
view
.
hwndParent
=
parent
;
view
.
pCertContext
=
certContext
;
if
(
CryptUIDlgViewCertificateW
(
&
view
,
NULL
))
ret
=
ERROR_SUCCESS
;
else
ret
=
GetLastError
();
CertFreeCertificateContext
(
certContext
);
}
else
ret
=
GetLastError
();
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