[exim-cvs] cvs commit: exim/exim-src/src tls-openssl.c

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-cvs
Subject: [exim-cvs] cvs commit: exim/exim-src/src tls-openssl.c
pdp 2010/06/05 10:36:11 BST

  Modified files:
    exim-src/src         tls-openssl.c 
  Log:
  Doh, fix the error message to say SSL_read not SSL_write.


  Revision  Changes    Path
  1.25      +1 -1      exim/exim-src/src/tls-openssl.c


  Index: tls-openssl.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/tls-openssl.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- tls-openssl.c    5 Jun 2010 09:32:31 -0000    1.24
  +++ tls-openssl.c    5 Jun 2010 09:36:11 -0000    1.25
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/tls-openssl.c,v 1.24 2010/06/05 09:32:31 pdp Exp $ */
  +/* $Cambridge: exim/exim-src/src/tls-openssl.c,v 1.25 2010/06/05 09:36:11 pdp Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -903,7 +903,7 @@
     else if (error == SSL_ERROR_SSL)
       {
       ERR_error_string(ERR_get_error(), ssl_errstring);
  -    log_write(0, LOG_MAIN, "TLS error (SSL_write): %s", ssl_errstring);
  +    log_write(0, LOG_MAIN, "TLS error (SSL_read): %s", ssl_errstring);
       ssl_xfer_error = 1;
       return EOF;
       }