Home GnuPG
Diffusion GnuPG 9e2307ddf0c2

agent: Flush before calling ftruncate.

Description

agent: Flush before calling ftruncate.

* agent/findkey.c (write_extended_private_key): Make sure
it is flushed out.

Cherry-picked from master commit of:
99d2931887e5ba0db9007024b3420b110603d5be

  • GnuPG-bug-id: T6035
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Jun 23, 4:05 AM
Parents
rG4c14bbf56fb5: sm: Update pkcs#12 module from master
Branches
Unknown
Tags
Unknown
Tasks
T6035: Portability issue: ftruncate