Judge sentences two men in corruption case