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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tom Kistner
Date:  
À: exim-cvs
Sujet: [exim-cvs] cvs commit: exim/exim-src/src acl.c
tom 2009/06/09 15:48:15 BST

  Modified files:        (Branch: DEVEL_PDKIM)
    exim-src/src         acl.c 
  Log:
  Fix missing NULL armor


  Revision  Changes    Path
  1.82.2.4  +10 -2     exim/exim-src/src/acl.c


  Index: acl.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/acl.c,v
  retrieving revision 1.82.2.3
  retrieving revision 1.82.2.4
  diff -u -r1.82.2.3 -r1.82.2.4
  --- acl.c    9 Jun 2009 14:19:56 -0000    1.82.2.3
  +++ acl.c    9 Jun 2009 14:48:15 -0000    1.82.2.4
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/acl.c,v 1.82.2.3 2009/06/09 14:19:56 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/acl.c,v 1.82.2.4 2009/06/09 14:48:15 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -2786,8 +2786,16 @@


       #ifndef DISABLE_DKIM
       case ACLC_DKIM_SIGNER:
  -    rc = match_isinlist(dkim_signing_domain,
  -                        &arg,0,NULL,NULL,MCL_STRING,TRUE,NULL);
  +    if (dkim_signing_domain != NULL)
  +      {
  +      rc = match_isinlist(dkim_signing_domain,
  +                          &arg,0,NULL,NULL,MCL_STRING,TRUE,NULL);
  +      if (rc == FAIL)
  +        {
  +        rc = match_isinlist(dkim_exim_expand_query(DKIM_IDENTITY),
  +                            &arg,0,NULL,NULL,MCL_STRING,TRUE,NULL);
  +        }
  +      }
       break;


       case ACLC_DKIM_STATUS: