diff options
author | Werner Koch <[email protected]> | 2016-05-09 19:07:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-05-09 19:16:23 +0000 |
commit | 693838f0125d5d0c963fa3771b1bd117702af697 (patch) | |
tree | a49633d0a5a8261804fe49aa05dcf6c393fb5287 /dirmngr/server.c | |
parent | gpg: Request a "save" after cmd "check" fixed something. (diff) | |
download | gnupg-693838f0125d5d0c963fa3771b1bd117702af697.tar.gz gnupg-693838f0125d5d0c963fa3771b1bd117702af697.zip |
gpg: Fix buglet in the check_all_keysigs function.
* g10/keyedit.c (sig_comparison): Actually compare the pubkey
algorithms.
--
This fixes two bugs: The first was a typo which led to us comparing A
with A. The second problem was the use of an assert at a place where
this can't be asserted: Two signature may have different algorithms;
they won't verify but after all it is about corrupted signatures.
Reported-by: Guilhem Moulin <[email protected]>
GnuPG-bug-id: 2236
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions