Diff for /libraries/libldap/tls_o.c between versions 1.6 and 1.7

version 1.6, 2009/02/10 12:27:22 version 1.7, 2009/03/02 16:43:38
Line 1 Line 1
 /* tls_o.c - Handle tls/ssl using SSLeay or OpenSSL */  /* tls_o.c - Handle tls/ssl using SSLeay or OpenSSL */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.5 2009/01/26 01:16:46 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.6 2009/02/10 12:27:22 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2008-2009 The OpenLDAP Foundation.   * Copyright 2008-2009 The OpenLDAP Foundation.
Line 421  tlso_session_my_dn( tls_session *sess, s Line 421  tlso_session_my_dn( tls_session *sess, s
         xn = X509_get_subject_name(x);          xn = X509_get_subject_name(x);
         der_dn->bv_len = i2d_X509_NAME( xn, NULL );          der_dn->bv_len = i2d_X509_NAME( xn, NULL );
         der_dn->bv_val = xn->bytes->data;          der_dn->bv_val = xn->bytes->data;
         X509_free(x);          /* Don't X509_free, the session is still using it */
         return 0;          return 0;
 }  }
   

Removed from v.1.6  
changed lines
  Added in v.1.7


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