Bugfix regarding leading 00 bytes not being counted by BN_num_bytes