Fixed bugs in completeBER and (serious one in) ber_oid.