Swap the check in ssl3_write_pending to avoid using