Check for errors in BN_bn2dec()