diff options
author | Neal H. Walfield <[email protected]> | 2015-11-03 22:39:46 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-11-04 12:19:54 +0000 |
commit | de9b2340153d70b083494d1a277a384dcf43bff0 (patch) | |
tree | 68bf97eb4328f45b0401b30962c6041985de9800 /g10/options.h | |
parent | gpg: Allow multiple --default-key options. Take the last available key. (diff) | |
download | gnupg-de9b2340153d70b083494d1a277a384dcf43bff0.tar.gz gnupg-de9b2340153d70b083494d1a277a384dcf43bff0.zip |
gpg: Add --encrypt-to-default-key.
* g10/getkey.c (parse_def_secret_key): Drop the static qualifier and
export the function.
* g10/gpg.c (enum cmd_and_opt_values): Add value oEncryptToDefaultKey.
(opts): Handle oEncryptToDefaultKey.
(main): Likewise.
* g10/options.h (opt): Add field encrypt_to_default_key.
--
Signed-off-by: Neal H. Walfield <[email protected]>
GnuPG-bug-id: 807
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 7485985e8..bc92dd746 100644 --- a/g10/options.h +++ b/g10/options.h @@ -175,6 +175,7 @@ struct int no_mdc_warn; char *temp_dir; int no_encrypt_to; + int encrypt_to_default_key; int interactive; struct notation *sig_notations; struct notation *cert_notations; |