mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-09 10:38:05 -05:00
fix year 2038 problem
This commit is contained in:
parent
b8cb44fa47
commit
cc4e5a5076
@ -5772,7 +5772,7 @@ static int main_configure(int argc, char **argv, cmd_type_t *cmd, GLOBAL_OPTIONS
|
|||||||
usage(argv0, "all");
|
usage(argv0, "all");
|
||||||
return 0; /* FAILED */
|
return 0; /* FAILED */
|
||||||
}
|
}
|
||||||
options->time = (time_t)strtoul(*(++argv), NULL, 10);
|
options->time = (time_t)strtoull(*(++argv), NULL, 10);
|
||||||
#ifdef ENABLE_CURL
|
#ifdef ENABLE_CURL
|
||||||
} else if ((*cmd == CMD_SIGN || *cmd == CMD_ADD) && !strcmp(*argv, "-t")) {
|
} else if ((*cmd == CMD_SIGN || *cmd == CMD_ADD) && !strcmp(*argv, "-t")) {
|
||||||
if (--argc < 1) {
|
if (--argc < 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user