Gen. David Petraeus, shown in 2011, is being considered for secretary of state by President-elect Donald Trump.