apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr-util/ldap apr_ldap_init.c
Date Mon, 23 Aug 2004 16:44:40 GMT
bnicholes    2004/08/23 09:44:40

  Modified:    ldap     apr_ldap_init.c
  Log:
  Fix a segfault on NetWare and give a better reason why SSL support didn't initialize
  
  Revision  Changes    Path
  1.7       +5 -0      apr-util/ldap/apr_ldap_init.c
  
  Index: apr_ldap_init.c
  ===================================================================
  RCS file: /home/cvs/apr-util/ldap/apr_ldap_init.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apr_ldap_init.c	9 Aug 2004 17:49:01 -0000	1.6
  +++ apr_ldap_init.c	23 Aug 2004 16:44:39 -0000	1.7
  @@ -25,6 +25,7 @@
   #include <apr_ldap.h>
   #include <apr_errno.h>
   #include <apr_pools.h>
  +#include <apr_strings.h>
   
   #if APR_HAS_LDAP
   
  @@ -84,6 +85,10 @@
   
                   if (LDAP_SUCCESS != result->rc) {
                       ldapssl_client_deinit();
  +                    result->reason = apr_psprintf (pool, 
  +                                                   "LDAP: Invalid certificate or path:
"
  +                                                   "Could not add trushted cert %s", 
  +                                                   cert_auth_file);
                   }
               }
           }
  
  
  

Mime
View raw message