All sales of real property made prior to February 10, 1905, by mortgagees and trustees under powers of sale contained in any mortgage or deed of trust in compliance with the powers, terms, conditions and advertisement set forth and required in any such mortgage or deed of trust, are hereby in all respects ratified and confirmed.
N.C. Gen. Stat. § 45-20