The provisions of a judgment or decree affecting the title to real property and the record thereof are conclusive after twenty years from the entry thereof and all proceedings necessary to support such judgment or decree shall be deemed to have been legally taken.
SDCL 43-29-5