Home GnuPG
Diffusion GnuPG 170660ed11b5

agent: Use "ll" length specifier when time_t is larger.

Description

agent: Use "ll" length specifier when time_t is larger.

* agent/command.c (cmd_keytocard): Use KEYTOCARD_TIMESTAMP_FORMAT.

On a big-endian 32-bit platform which uses 64-bit time_t, it might go
wrong.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 10 2017, 8:04 AM
Parents
rG7501f2e9c4e6: scd: Relax a condition for p15 driver.
Branches
Unknown
Tags
Unknown