Home GnuPG
Diffusion GnuPG 80dbf8006ffe

g10: Simplify get_seckey_byname: it was never called with NAME not NULL.
80dbf8006ffeUnpublished

Unpublished Commit ยท Learn More

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

Description

g10: Simplify get_seckey_byname: it was never called with NAME not NULL.

* g10/keydb.h (get_seckey_byname): Rename from this...
(get_seckey_default): ... to this.  Drop the parameter name.  Update
users.
* g10/getkey.c (get_seckey_byname): Rename from this...
(get_seckey_default): ... to this.  Drop the parameter name.  Drop the
code which assumed that NAME is not NULL.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Sep 14 2015, 9:14 PM
Parents
rGdc69804ab057: g10: Eliminate the redundant function get_keyblock_byfprint.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG80dbf8006ffe: g10: Simplify get_seckey_byname: it was never called with NAME not NULL. (authored by Neal H. Walfield <neal@g10code.com>).Sep 16 2015, 3:15 PM