You're thinking of Origen, a contemporary of Tertullian (late 2nd century -- first half of the 3rd). Both men were zealously ascetic, but only Origen self-castrated.