The former US general was critical of Trump in the past, at one point calling him a "fascist".