Diff for /libraries/libldap/sasl.c between versions 1.41.2.1 and 1.41.2.2

version 1.41.2.1, 2002/04/15 15:21:48 version 1.41.2.2, 2002/06/05 20:08:13
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.42 2002/04/01 20:28:02 julius Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.41.2.1 2002/04/15 15:21:48 kurt Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 75  ldap_sasl_bind( Line 75  ldap_sasl_bind(
         rc = ldap_int_client_controls( ld, cctrls );          rc = ldap_int_client_controls( ld, cctrls );
         if( rc != LDAP_SUCCESS ) return rc;          if( rc != LDAP_SUCCESS ) return rc;
   
         if( msgidp == NULL ) {  
                 ld->ld_errno = LDAP_PARAM_ERROR;  
                 return ld->ld_errno;  
         }  
   
         if( mechanism == LDAP_SASL_SIMPLE ) {          if( mechanism == LDAP_SASL_SIMPLE ) {
                 if( dn == NULL && cred != NULL ) {                  if( dn == NULL && cred != NULL ) {
                         /* use default binddn */                          /* use default binddn */
Line 269  ldap_parse_sasl_bind_result( Line 264  ldap_parse_sasl_bind_result(
         assert( LDAP_VALID( ld ) );          assert( LDAP_VALID( ld ) );
         assert( res != NULL );          assert( res != NULL );
   
         if ( ld == NULL || res == NULL ) {  
                 return LDAP_PARAM_ERROR;  
         }  
   
         if( servercredp != NULL ) {          if( servercredp != NULL ) {
                 if( ld->ld_version < LDAP_VERSION2 ) {                  if( ld->ld_version < LDAP_VERSION2 ) {
                         return LDAP_NOT_SUPPORTED;                          return LDAP_NOT_SUPPORTED;

Removed from v.1.41.2.1  
changed lines
  Added in v.1.41.2.2


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