aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-11-06 12:57:30 +0000
committerWerner Koch <[email protected]>2017-11-06 12:57:30 +0000
commitf7212f1d11aad5d910d2c77b2e5c6ab31a0e786e (patch)
treec75b6ee534d5230455d56de87d5f316551abc605 /agent/agent.h
parentgpg: Unifiy the message for re-configuring cards. (diff)
downloadgnupg-f7212f1d11aad5d910d2c77b2e5c6ab31a0e786e.tar.gz
gnupg-f7212f1d11aad5d910d2c77b2e5c6ab31a0e786e.zip
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 <[email protected]>
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index bf8d244a0..47cc34562 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -171,6 +171,10 @@ struct
/* The digest algorithm to use for ssh fingerprints when
* communicating with the user. */
int ssh_fingerprint_digest;
+
+ /* The value of the option --s2k-count. If this option is not given
+ * or 0 an auto-calibrated value is used. */
+ unsigned long s2k_count;
} opt;