On his birthday, Letters of note published this letter from him on the eve of his trial: http://www.lettersofnote.com/2012/06/yours-in-distress-alan..... Turing's own words:
"I'm afraid that the following syllogism may be used by some in the future.
Turing believes machines think Turing lies with men Therefore machines do not think
Yours in distress,
Alan"
This suggests Turing was greatly concerned with how society's attitude to his sexuality affected how he might be perceived by history, and how that might undermine even the impact of his ideas. That society has moved past those prejudices and is able to look back at his work with admiration, and shame for his treatment, is a gratifying refutation of his fears, not a convenient retelling of his story to fit modern agendas.