Transgenic maize plants expressing the Totivirus antifungal protein, KP4, are highly resistant to corn smut.