The former inmate at Tomoka state prison testified he was carrying the shank, a homemade metal knife, for protection.