aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/import.c')
-rw-r--r--g10/import.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/import.c b/g10/import.c
index d06d957c2..654310267 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -505,6 +505,10 @@ fix_hkp_corruption(KBNODE keyblock)
sknode->next=node;
last->next=NULL;
+ /* Note we aren't checking whether this binding sig is a
+ selfsig. This is not necessary here as the subkey and
+ binding sig will be rejected later if that is the
+ case. */
if(check_key_signature(keyblock,node,NULL))
{
/* Not a match, so undo the changes. */