BN_bn2hex() returns "0" instead of "00" for zero. This disrputs the