Diff for /libraries/liblber/decode.c between versions 1.43 and 1.44

version 1.43, 1999/11/26 22:32:20 version 1.44, 1999/12/09 20:30:33
Line 1 Line 1
 /* decode.c - ber input decoding routines */  /* decode.c - ber input decoding routines */
 /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.42 1999/11/08 18:36:30 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.43 1999/11/26 22:32:20 kdz Exp $ */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 96  ber_skip_tag( BerElement *ber, ber_len_t Line 96  ber_skip_tag( BerElement *ber, ber_len_t
          *      2) primitive encodings used whenever possible           *      2) primitive encodings used whenever possible
          */           */
   
           *len = 0;
   
         /*          /*
          * First, we read the tag.           * First, we read the tag.
          */           */
Line 110  ber_skip_tag( BerElement *ber, ber_len_t Line 112  ber_skip_tag( BerElement *ber, ber_len_t
          * greater than what we can hold in a ber_len_t.           * greater than what we can hold in a ber_len_t.
          */           */
   
         *len = 0;  
   
         if ( ber_read( ber, (char *) &lc, 1 ) != 1 )          if ( ber_read( ber, (char *) &lc, 1 ) != 1 )
                 return( LBER_DEFAULT );                  return( LBER_DEFAULT );
   
Line 149  ber_peek_tag( Line 149  ber_peek_tag(
         assert( ber_in != NULL );          assert( ber_in != NULL );
         assert( BER_VALID( ber_in ) );          assert( BER_VALID( ber_in ) );
   
           *len = 0;
   
         ber = ber_dup( ber_in );          ber = ber_dup( ber_in );
   
         if( ber == NULL ) {          if( ber == NULL ) {

Removed from v.1.43  
changed lines
  Added in v.1.44


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