Fixes build warning.
Fixes ASN encoding of buffers of length 128-255.