Fix typo in multbyte tag code

This commit is contained in:
Kurt Zeilenga 2000-04-26 09:17:05 +00:00
parent b872bf3a91
commit 459194f347

View file

@ -57,7 +57,7 @@ ber_get_tag( BerElement *ber )
return( LBER_DEFAULT );
tag << 8;
tag &= 0x00ffUL & (ber_tag_t) xbyte;
tag |= 0x00ffUL & (ber_tag_t) xbyte;
if ( ! (xbyte & LBER_MORE_TAG_MASK) )
break;
@ -67,7 +67,6 @@ ber_get_tag( BerElement *ber )
if ( i == sizeof(ber_tag_t) )
return( LBER_DEFAULT );
/* want leading, not trailing 0's */
return tag;
}