Commit 9d11c5ea authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Remove pointless `unsigned < 0' test.

parent 265b7e22
......@@ -141,11 +141,6 @@ ber_skip_tag( BerElement *ber, ber_len_t *len )
*len = lc;
}
/* BER length should be non-negative */
if( *len < 0 ) {
return LBER_DEFAULT;
}
/* BER element should have enough data left */
if( *len > (ber_len_t) ber_pvt_ber_remaining( ber ) ) {
return LBER_DEFAULT;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment