DKIM: permit verify of sig blocks that sign other sig blocks. Bug 2014
[exim.git] / src / src / pdkim / pdkim.c
index 4309675e6d86f48bc55b297cd5388a2895ac26af..a77dd5792322a96ccece9b5c326dd6d1c8c64e4e 100644 (file)
@@ -991,9 +991,8 @@ else
          "PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n");
     }
 
-  /* every other header is stored for signature verification */
-  else
-    ctx->headers = pdkim_prepend_stringlist(ctx->headers, ctx->cur_header);
+  /* all headers are stored for signature verification */
+  ctx->headers = pdkim_prepend_stringlist(ctx->headers, ctx->cur_header);
   }
 
 BAIL: