gpg: Update key origin info during import merge.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Jul 2017 09:23:08 +0000 (11:23 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Jul 2017 09:23:08 +0000 (11:23 +0200)
commit166d0d7a2439f30c0a250faadc16ce3453447d71
tree9083fc6f00ef05babebc2a89d47501cd74125894
parent84c993d9325fc000acac7950b2dfeefa5976df3b
gpg: Update key origin info during import merge.

* g10/import.c (update_key_origin): New.
(merge_blocks): Add arg curtime.
(import_one): Pass curtime to merge_blocks.  Call update_key_origin.
--

We probably need to refine the rules on how this is done.  But it is a
start.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/import.c