[exim-cvs] cvs commit: exim/exim-src/src dkim.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 dkim.c
tom 2009/03/17 21:44:10 GMT

  Modified files:        (Branch: DEVEL_PDKIM)
    exim-src/src         dkim.c 
  Log:
  more pdkim wip


  Revision  Changes    Path
  1.1.2.5   +3 -3      exim/exim-src/src/dkim.c


  Index: dkim.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/Attic/dkim.c,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- dkim.c    17 Mar 2009 21:31:10 -0000    1.1.2.4
  +++ dkim.c    17 Mar 2009 21:44:10 -0000    1.1.2.5
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/dkim.c,v 1.1.2.4 2009/03/17 21:31:10 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/dkim.c,v 1.1.2.5 2009/03/17 21:44:10 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -35,7 +35,7 @@
                          uschar *dkim_sign_headers) {
     pdkim_ctx *ctx = NULL;
     uschar *rc = NULL;
  -  char *signature;
  +  pdkim_signature *signature;
     int pdkim_canon;
     int sread;
     char buf[4096];
  @@ -154,8 +154,8 @@
     if (pdkim_feed_finish(ctx,&signature) != PDKIM_OK)
       goto CLEANUP;


  -  rc = store_get(strlen(signature)+3);
  -  Ustrcpy(rc,US signature);
  +  rc = store_get(strlen(signature->signature_header)+3);
  +  Ustrcpy(rc,US signature->signature_header);
     Ustrcat(rc,US"\r\n");


     CLEANUP: