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

version 1.11, 2009/08/07 19:46:25 version 1.12, 2009/08/19 10:23:27
Line 1 Line 1
 /* tls_o.c - Handle tls/ssl using OpenSSL */  /* tls_o.c - Handle tls/ssl using OpenSSL */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.10 2009/08/07 09:59:42 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.11 2009/08/07 19:46:25 hallvard 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 618  no_cn: Line 618  no_cn:
                 } else if (( cn->data[0] == '*' ) && ( cn->data[1] == '.' )) {                  } else if (( cn->data[0] == '*' ) && ( cn->data[1] == '.' )) {
                         char *domain = strchr(name, '.');                          char *domain = strchr(name, '.');
                         if( domain ) {                          if( domain ) {
                                 size_t dlen;                                  int dlen;
   
                                 dlen = nlen - (domain-name);                                  dlen = nlen - (domain-name);
   

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


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