He did confess, while in captivity, to being a war criminal, which in the strictest sense did provide aid to the enemy, but this occurred after several years in captivity and after he had been broken by torture, deprivation, and abuse.
Beyond that the narrative is that he honored the Code of Conduct to the best of his ability for as long as possible.
That's all this country can ask or expect of anyone.
Once he came home, though, he broke faith with his fellow POWs, pisses all over the Code of Conduct, and has used his position as a Congressman and Senator to stifle any effort to bring the truth about the men left behind to light.
In that sense John McCain may be among the biggest traitors in American history.
Infinitely worse than Bergdhal.
I'm not a religious man, but John McCain makes me hope that there is a hell, because rest assured, if there is, McCain will ****ing rot there.