Where do you enter Federal Tax withheld on a stock sale so it shows up as a credit?

I had Federal Tax withheld by my broker when I sold stock abd I entered the amount on the Capital Gains/loss worksheet but it does not give me credit for it on the Federal tax paid summary