At a memorial for former South African president Nelson Mandela, President Obama greeted world leaders, including Cuban President Raul Castro. (Thomas LeGro/The Washington Post)

Sen. John McCain (R-Ariz.) criticized President Obama for shaking the hand of Cuban leader Raul Castro at the memorial ceremony for former South African president Nelson Mandela, comparing the gesture to Neville Chamberlain's handshake with Adolf Hitler at the start of World War II.

"It gives Raul some propaganda to continue to prop up his dictatorial, brutal regime, that's all," McCain said sarcastically. McCain's comments can be heard in an audio clip recorded by Todd Zwillich of The Takeaway radio program.