Last year , Clinton signed legislation prohibiting federal recognition of gay marriages , then bragged about it in campaign ads .
Clinton knew very well what he was doing , when he signed up that legislation .