Handle BIGNUM conversion failure