In genpkey, also look for algorithm string name in any supplied ENGINE.