diff options
author | Neal H. Walfield <[email protected]> | 2015-10-29 09:18:13 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-11-23 21:38:47 +0000 |
commit | 6da0e52af3e53469f50f0623f12a7d09521fdad8 (patch) | |
tree | d5848fcfc232a89416fdd0f44ca3326519906ad7 /g10/import.c | |
parent | gpg: Reflow long texts. (diff) | |
download | gnupg-neal/kdb.tar.gz gnupg-neal/kdb.zip |
New key db.neal/kdb
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/import.c b/g10/import.c index e1577b8a1..7555cc683 100644 --- a/g10/import.c +++ b/g10/import.c @@ -1154,6 +1154,9 @@ import_one (ctrl_t ctrl, goto leave; } + assert (strcmp (keystr_from_pk(keyblock_orig->pkt->pkt.public_key), + keystr_from_pk(pk)) == 0); + /* Make sure the original direct key sigs are all sane. */ n_sigs_cleaned = fix_bad_direct_key_sigs (keyblock_orig, keyid); if (n_sigs_cleaned) |