CIA deputy director linked to torture at Thailand black site