strlen will give us the byte count not bits.

The error message was slightly inaccurate.