Moved pdkim declaration to satisfy older compilers
[exim.git] / src / src / pdkim / pdkim.c
index a7e5692e9dc61125219e222f6e1545cb08e25c5b..4f0da3f7120eac1711de68c0bca745c44a1ff293 100644 (file)
@@ -1383,10 +1383,11 @@ DLLEXPORT int pdkim_feed_finish(pdkim_ctx *ctx, pdkim_signature **return_signatu
       char *b = strdup(sig->headernames);
       char *p = b;
       char *q = NULL;
+      pdkim_stringlist *hdrs = ctx->headers;
+
       if (b == NULL) return PDKIM_ERR_OOM;
 
       /* clear tags */
-      pdkim_stringlist *hdrs = ctx->headers;
       while (hdrs != NULL) {
         hdrs->tag = 0;
         hdrs = hdrs->next;