Leaks around windshield gasket

On my old 72 Valiant I had a small leak in the gasket as well, what I did was got some black Mono it is a latex product. I pealed back the rubber and and used a Q-tip to apply it under the gasket, it worked great.
AL