check_typeofcertname
static int check_typeofcertname(int, int);
if (check_typeofcertname(id_b->type, type) == 0)
if (check_typeofcertname(id_b->type, type) == 0)
if (check_typeofcertname(id_b->type, type) != 0) {