agent: New option --s2k-count.
authorWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 12:57:30 +0000 (13:57 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 12:57:30 +0000 (13:57 +0100)
commitf7212f1d11aad5d910d2c77b2e5c6ab31a0e786e
treec75b6ee534d5230455d56de87d5f316551abc605
parent922bae8082f2f8d696ea0e7d7e9e4d986789bdfc
agent: New option --s2k-count.

* agent/agent.h (opt): New field 's2k_count'.
* agent/gpg-agent.c (oS2KCount): New enum value.
(opts): New option --s2k-count.
(parse_rereadable_options): Set opt.s2k_count.
--

This option is useful to speed up the starting of gpg-agent and in
cases where the auto-calibration runs into problems due to a broken
time measurement facility.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/gpg-agent.c
agent/protect.c
doc/gpg-agent.texi