Final answer:
The Sedition Act of 1798 and the Espionage Act of 1917 were both laws passed by the American government to suppress opposition and criticism during times of war.
Step-by-step explanation:
The Sedition Act of 1798 and the Espionage Act of 1917 have in common that they both were laws passed by the American government to suppress opposition and criticism during times of war. Both acts made it a criminal offense to speak or publish language that was considered disloyal or abusive towards the government or the war effort.