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
|
@ -1121,7 +1121,7 @@ get_pubkey_byfprint_fast (PKT_public_key * pk,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const char *
|
||||
const char *
|
||||
parse_def_secret_key (ctrl_t ctrl)
|
||||
{
|
||||
KEYDB_HANDLE hd = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue