gpg: Systematically detect and fix signatures that are out of order.
* g10/keyedit.c (sig_comparison): New function. (fix_key_signature_order): Merge functionality into... (check_all_keysigs): ... this function. Rewrite to eliminate duplicates and use a systematic approach to detecting and moving signatures that are out of order instead of a heuristic. (fix_keyblock): Don't call fix_key_signature_order. Call check_all_keysigs instead after collapsing the uids.
- Signed-off-by: Neal H. Walfield <neal@g10code.com>
- GnuPG-bug-id: T2236