Home GnuPG
Diffusion GnuPG dc52995d8504

gpg: Lazily evaluate --default-key.
dc52995d8504Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Lazily evaluate --default-key.

* g10/gpg.c (main): If --encrypt-to-default-key is specified, don't
add --default-key's value to REMUSR here...
* g10/pkclist.c (build_pk_list): ... do it here.
* tests/openpgp/Makefile.am (TESTS): Add default-key.test.
* tests/openpgp/default-key.test: New file.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Dec 22 2015, 2:21 PM
Parents
rGffe0b7a6dd6b: gpg: Remove unused parameter.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGdc52995d8504: gpg: Lazily evaluate --default-key. (authored by Neal H. Walfield <neal@g10code.com>).Dec 22 2015, 3:03 PM