Diffusion GnuPG 926d07c5fa05

agent: compile-time configuration of s2k calibration.

Authored by dkg on Sep 8 2017, 11:08 PM.

Description

agent: compile-time configuration of s2k calibration.

* configure.ac: add --with-agent-s2k-calibration=MSEC, introduces
AGENT_S2K_CALIBRATION (measured in milliseconds)
* agent/protect.c (calibrate_s2k_count): Calibrate based on
AGENT_S2K_CALIBRATION.
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  • GnuPG-bug-id: T3399

Details