No they did’t know, because they didn’t ask and they didn’t tell.
DADT came from the Clinton era.
And McCarthyism technically ended in the 50’s, but you can still make anachronistic references for humor and comparison.