diff options
| author | NIIBE Yutaka <[email protected]> | 2017-09-08 05:21:29 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2017-09-08 05:21:29 +0000 |
| commit | 17f764dd4972a063fe09c4b9d2846e8efcb25c7a (patch) | |
| tree | 4cf4a7309c53179f9adb1446df3963000bf37c46 /common/exechelp-posix.c | |
| parent | scd: Fix for large ECC keys. (diff) | |
| download | gnupg-17f764dd4972a063fe09c4b9d2846e8efcb25c7a.tar.gz gnupg-17f764dd4972a063fe09c4b9d2846e8efcb25c7a.zip | |
tests: Fix a test which specifies expiration date.
* tests/openpgp/quick-key-manipulation.scm: Fix expiration time
comparison.
--
This is a bug fix for Amelia Earhart who is probably in UTC-12.
When expiration date is specified, GnuPG interprets it as noon of the
date in local time.
Before this fix, the test compared the value by 2145916800 which is
2038-01-01 00:00:00 in UTC with allowance of 1 day. When the test
was ran in UTC-12 timezone, it failed because of noon in the timezone
is midnight of the next day in UTC.
GnuPG-bug-id: 3393
Reported-by: Daniel Kahn Gillmor
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/exechelp-posix.c')
0 files changed, 0 insertions, 0 deletions
