mirror of git://git.gnupg.org/gnupg.git
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>
This commit is contained in:
parent
8a56a38387
commit
8fd406c317
|
@ -883,7 +883,7 @@ keygrip_from_pk (PKT_public_key *pk, unsigned char *array)
|
|||
}
|
||||
gcry_sexp_release (s_pkey);
|
||||
|
||||
return 0;
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue