TLS DANE to multiple recipients w/ different DNSSec status
[exim.git] / src / src / deliver.c
index f2187e22aaf72961881cb3da3d63e5d90468b0dd..ba2948dfd71b8900e47316f39682f68c7e17da76 100644 (file)
@@ -521,8 +521,12 @@ while (one && two)
   else if (one->port != two->port)
     return FALSE;
 
-  /* Hosts matched */
+#ifdef SUPPORT_DANE
+  /* DNSSEC equality */
+  if (one->dnssec != two->dnssec) return FALSE;
+#endif
 
+  /* Hosts matched */
   one = one->next;
   two = two->next;
   }