Home GnuPG
Diffusion GnuPG 8fd406c317ad

gpg: Return an error code from keygrip_from_pk.
8fd406c317adUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Return an error code from keygrip_from_pk.

* g10/keyid.c (keygrip_from_pk): Return an error code.

The error was show but the function did not return it. This change
should improve error messages for unknown algorithms.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 7 2016, 7:07 PM
Parents
rG8a56a38387c1: gpg: Avoid warnings about possible NULL deref.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8fd406c317ad: gpg: Return an error code from keygrip_from_pk. (authored by Werner Koch <wk@gnupg.org>).Jan 7 2016, 7:09 PM