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
def2863d
Commit
def2863d
authored
Sep 18, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix filetime_to_str() for the case where it is called twice for a single trace.
parent
6454ec7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
chain.c
dlls/crypt32/chain.c
+2
-2
No files found.
dlls/crypt32/chain.c
View file @
def2863d
...
...
@@ -1664,7 +1664,7 @@ static void dump_extension(const CERT_EXTENSION *ext)
static
LPCSTR
filetime_to_str
(
const
FILETIME
*
time
)
{
static
char
date
[
80
];
char
date
[
80
];
char
dateFmt
[
80
];
/* sufficient for all versions of LOCALE_SSHORTDATE */
SYSTEMTIME
sysTime
;
...
...
@@ -1675,7 +1675,7 @@ static LPCSTR filetime_to_str(const FILETIME *time)
FileTimeToSystemTime
(
time
,
&
sysTime
);
GetDateFormatA
(
LOCALE_SYSTEM_DEFAULT
,
0
,
&
sysTime
,
dateFmt
,
date
,
sizeof
(
date
)
/
sizeof
(
date
[
0
]));
return
date
;
return
wine_dbg_sprintf
(
"%s"
,
date
)
;
}
static
void
dump_element
(
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