Home | History | Annotate | Download | only in x509v3

Lines Matching refs:gen

81 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
82 static int nc_match_single(GENERAL_NAME *sub, GENERAL_NAME *gen);
271 GENERAL_NAME *gen = sk_GENERAL_NAME_value(x->altname, j);
272 r = nc_match(gen, nc);
281 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
294 if (gen->type != sub->base->type)
303 r = nc_match_single(gen, sub->base);
317 if (gen->type != sub->base->type)
322 r = nc_match_single(gen, sub->base);
334 static int nc_match_single(GENERAL_NAME *gen, GENERAL_NAME *base)
338 return nc_dn(gen->d.directoryName, base->d.directoryName);
341 return nc_dns(gen->d.dNSName, base->d.dNSName);
344 return nc_email(gen->d.rfc822Name, base->d.rfc822Name);
347 return nc_uri(gen->d.uniformResourceIdentifier,