A former South African Air Force brigadier general has been sentenced to six months in a United States federal prison.