mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <neal@g10code.com> GnuPG-bug-id: 807
This commit is contained in:
parent
e16d7168c5
commit
de9b234015
5 changed files with 30 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue