They have been close friends for a very long time:
George "Bud" Day, McCain's attorney during his divorce. Day also was one McCain's cellmates when they were prisoners of war in Vietnam."
That may very well be why McC has backed off attacking the vets and is saying that Kerry's activities AFTER his service is fair to be scrutinized.