ossl_dh_gen_type_id2name
if ((ctx->p2 = (char *)ossl_dh_gen_type_id2name(atoi(ctx->p2)))
const char *ossl_dh_gen_type_id2name(int id);