Home GnuPG
Diffusion GnuPG de3838372ae3

tests: Avoid overflowing signed 32 bit time_t.
de3838372ae3Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Avoid overflowing signed 32 bit time_t.

* tests/openpgp/quick-key-manipulation.scm: Use expiration times in
the year 2038 instead of 2105 to avoid overflowing 32 bit time_t.
time_t is used internally to parse the expiraton time from the iso
timestamp.
  • GnuPG-bug-id: T2988
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 7 2017, 12:18 PM
Parents
rG176e07ce10d8: agent: Resolve conflict of util.h.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGde3838372ae3: tests: Avoid overflowing signed 32 bit time_t. (authored by Justus Winter <justus@g10code.com>).Mar 7 2017, 12:23 PM
justus mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:34 PM
justus mentioned this in Unknown Object (Maniphest Task).