The former CIA director made an agreement to plead guilty to a misdemeanor charge for mishandling classified information.