EC_POINT_is_on_curve does not return a boolean