[exim-cvs] cvs commit: exim/exim-src/src/pdkim pdkim.c

Góra strony
Delete this message
Reply to this message
Autor: Tom Kistner
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-src/src/pdkim pdkim.c
tom 2009/04/30 20:15:48 BST

  Modified files:        (Branch: DEVEL_PDKIM)
    exim-src/src/pdkim   pdkim.c 
  Log:
  Fix failed verification when header canon != body canon


  Revision  Changes    Path
  1.1.2.14  +1 -1      exim/exim-src/src/pdkim/pdkim.c


  Index: pdkim.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/pdkim/Attic/pdkim.c,v
  retrieving revision 1.1.2.13
  retrieving revision 1.1.2.14
  diff -u -r1.1.2.13 -r1.1.2.14
  --- pdkim.c    30 Apr 2009 15:25:39 -0000    1.1.2.13
  +++ pdkim.c    30 Apr 2009 19:15:48 -0000    1.1.2.14
  @@ -20,7 +20,7 @@
    *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    */


-/* $Cambridge: exim/exim-src/src/pdkim/pdkim.c,v 1.1.2.13 2009/04/30 15:25:39 tom Exp $ */
+/* $Cambridge: exim/exim-src/src/pdkim/pdkim.c,v 1.1.2.14 2009/04/30 19:15:48 tom Exp $ */

   #include <stdlib.h>
   #include <stdio.h>
  @@ -1313,7 +1313,7 @@
         }
         /* ---------------------------------------------------------------------- */


  -      if (sig->canon_body == PDKIM_CANON_RELAXED)
  +      if (sig->canon_headers == PDKIM_CANON_RELAXED)
           rh = pdkim_relax_header(p->value,1); /* cook header for relaxed canon */
         else
           rh = strdup(p->value);               /* just copy it for simple canon */