Home GnuPG
Diffusion GnuPG 91a0483c5db8

g10: Add a convenience function for checking if a key is a primary key
91a0483c5db8Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: Add a convenience function for checking if a key is a primary key

* g10/keydb.h (pk_is_primary): New function.
* g10/tofu.c (get_trust): Use it.
(tofu_register_signature): Likewise.
(tofu_register_encryption): Likewise.
(tofu_set_policy): Likewise.
(tofu_get_policy): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 21 2016, 4:19 PM
Parents
rG362afb4f6074: build: Add repo-only maintainer script append-signature.sh.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG91a0483c5db8: g10: Add a convenience function for checking if a key is a primary key (authored by Neal H. Walfield <neal@g10code.com>).Nov 21 2016, 4:39 PM