Diff for /libraries/libldap/tls2.c between versions 1.11 and 1.12

version 1.11, 2009/02/24 20:09:41 version 1.12, 2009/02/25 20:48:10
Line 1 Line 1
 /* tls.c - Handle tls/ssl. */  /* tls.c - Handle tls/ssl. */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/tls2.c,v 1.10 2009/02/17 20:47:09 quanah Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/tls2.c,v 1.11 2009/02/24 20:09:41 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2009 The OpenLDAP Foundation.   * Copyright 1998-2009 The OpenLDAP Foundation.
Line 872  ldap_pvt_tls_get_my_dn( void *s, struct Line 872  ldap_pvt_tls_get_my_dn( void *s, struct
         struct berval der_dn;          struct berval der_dn;
         int rc;          int rc;
   
         tls_imp->ti_session_my_dn( session, &der_dn );          rc = tls_imp->ti_session_my_dn( session, &der_dn );
         rc = ldap_X509dn2bv(&der_dn, dn, (LDAPDN_rewrite_func *)func, flags );          if ( rc == LDAP_SUCCESS )
                   rc = ldap_X509dn2bv(&der_dn, dn, (LDAPDN_rewrite_func *)func, flags );
         return rc;          return rc;
 }  }
 #endif /* HAVE_TLS */  #endif /* HAVE_TLS */

Removed from v.1.11  
changed lines
  Added in v.1.12


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org