[exim-dev] [Bug 910] New: "dkim_canon = simple" uses relaxed…

Góra strony
Delete this message
Reply to this message
Autor: Simon Arlott
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 910] New: "dkim_canon = simple" uses relaxed canonicalisation
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=910
           Summary: "dkim_canon = simple" uses relaxed canonicalisation
           Product: Exim
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: critical
         Component: Unfiled
        AssignedTo: tom@???
        ReportedBy: bugzilla.exim.simon@???
                CC: exim-dev@???



The code in src/dkim.c incorrectly handles both "relaxed" and "simple" as
"relaxed":
  if (Ustrcmp(dkim_canon, "relaxed") == 0)
    pdkim_canon = PDKIM_CANON_RELAXED;
  else if (Ustrcmp(dkim_canon, "simple") == 0)
    pdkim_canon = PDKIM_CANON_RELAXED;
  else {
    log_write(0, LOG_MAIN, "DKIM: unknown canonicalization method '%s',
defaulting to 'relaxed'.\n",dkim_canon);
    pdkim_canon = PDKIM_CANON_RELAXED;
  }



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email