summaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2006-10-13 06:06:24 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2006-10-13 06:06:24 +0200
commitc6465b0654ed67602cdd465b4a945280877c40ae (patch)
tree059ed0d8bf110c4d1378403cbe0b925a01590810 /g10/options.h
parentAllow pkcs#10 creation directkly from a smart card (diff)
downloadgnupg2-c6465b0654ed67602cdd465b4a945280877c40ae.tar.xz
gnupg2-c6465b0654ed67602cdd465b4a945280877c40ae.zip
* parse-packet.c (parse_symkeyenc): Show the unpacked as well as the
packed s2k iteration count. * main.h, options.h, gpg.c (encode_s2k_iterations, main), passphrase.c (hash_passphrase): Add --s2k-count option to specify the number of s2k hash iterations.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/options.h b/g10/options.h
index d36db1a79..6fd8202fb 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -120,8 +120,10 @@ struct
int s2k_mode;
int s2k_digest_algo;
int s2k_cipher_algo;
- int simple_sk_checksum; /* create the deprecated rfc2440 secret
- key protection*/
+ unsigned char s2k_count; /* This is the encoded form, not the raw
+ count */
+ int simple_sk_checksum; /* create the deprecated rfc2440 secret key
+ protection */
int not_dash_escaped;
int escape_from;
int lock_once;