agent: compile-time configuration of s2k calibration.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 8 Sep 2017 21:08:57 +0000 (17:08 -0400)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 25 Jul 2018 10:25:32 +0000 (11:25 +0100)
commitf8b61cdbb2b0782d0c37e89407f98ef789a2a400
tree7e4b91fadb1a95868197576b3737bd277fb5b954
parentb95a17379e0bfb35db43173c0cee8b97ef9489dd
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: 3399
(cherry picked from commit 926d07c5fa05de05caef3a72b6fe156606ac0549)

Gbp-Pq: Topic from-master
Gbp-Pq: Name agent-compile-time-configuration-of-s2k-calibration.patch
agent/protect.c
configure.ac