Fix unsigned message rejection when dkim_verify_signers is empty, and acl_smtp_dkim...
authorTom Kistner <tom@duncanthrax.net>
Mon, 16 Nov 2009 12:47:19 +0000 (12:47 +0000)
committerTom Kistner <tom@duncanthrax.net>
Mon, 16 Nov 2009 12:47:19 +0000 (12:47 +0000)
src/src/receive.c

index 47bc10c1ec27c697793532b88a600964c7a1cb2c..529a4e2be75a174c117b3e49b0e24a56abca40a5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/receive.c,v 1.51 2009/11/11 10:08:02 nm4 Exp $ */
+/* $Cambridge: exim/src/src/receive.c,v 1.52 2009/11/16 12:47:19 tom Exp $ */
 
 /*************************************************
 *     Exim - an Internet mail transport agent    *
@@ -3000,6 +3000,8 @@ else
           int     seen_items_size = 0;
           int     seen_items_offset = 0;
           uschar itembuf[256];
+          /* Default to OK when no items are present */
+          rc = OK;
           while ((item = string_nextinlist(&ptr, &sep,
                                            itembuf,
                                            sizeof(itembuf))) != NULL)