Home
last modified time | relevance | path

Searched refs:gens (Results 1 – 8 of 8) sorted by relevance

/external/openssl/crypto/x509v3/
Dv3_alt.c66 static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p);
67 static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens);
88 GENERAL_NAMES *gens, STACK_OF(CONF_VALUE) *ret) in STACK_OF()
92 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) { in STACK_OF()
93 gen = sk_GENERAL_NAME_value(gens, i); in STACK_OF()
240 GENERAL_NAMES *gens = NULL; in v2i_issuer_alt() local
243 if(!(gens = sk_GENERAL_NAME_new_null())) { in v2i_issuer_alt()
251 if(!copy_issuer(ctx, gens)) goto err; in v2i_issuer_alt()
256 sk_GENERAL_NAME_push(gens, gen); in v2i_issuer_alt()
259 return gens; in v2i_issuer_alt()
[all …]
Dv3_crld.c106 GENERAL_NAMES *gens = NULL; in STACK_OF() local
115 if(!(gens = GENERAL_NAMES_new())) goto merr; in STACK_OF()
116 if(!sk_GENERAL_NAME_push(gens, gen)) goto merr; in STACK_OF()
124 point->distpoint->name.fullname = gens; in STACK_OF()
126 gens = NULL; in STACK_OF()
134 GENERAL_NAMES_free(gens); in STACK_OF()
Dv3_utl.c70 static STACK *get_email(X509_NAME *name, GENERAL_NAMES *gens);
468 GENERAL_NAMES *gens; in X509_get1_email() local
470 gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL); in X509_get1_email()
471 ret = get_email(X509_get_subject_name(x), gens); in X509_get1_email()
472 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); in X509_get1_email()
502 GENERAL_NAMES *gens; in X509_REQ_get1_email() local
506 gens = X509V3_get_d2i(exts, NID_subject_alt_name, NULL, NULL); in X509_REQ_get1_email()
507 ret = get_email(X509_REQ_get_subject_name(x), gens); in X509_REQ_get1_email()
508 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); in X509_REQ_get1_email()
514 static STACK *get_email(X509_NAME *name, GENERAL_NAMES *gens) in get_email() argument
[all …]
Dv3_akey.c119 GENERAL_NAMES * gens = NULL; in v2i_AUTHORITY_KEYID() local
186 if(!(gens = sk_GENERAL_NAME_new_null()) in v2i_AUTHORITY_KEYID()
188 || !sk_GENERAL_NAME_push(gens, gen)) in v2i_AUTHORITY_KEYID()
197 akeyid->issuer = gens; in v2i_AUTHORITY_KEYID()
Dv3_purp.c636 GENERAL_NAMES *gens; in X509_check_issued() local
640 gens = subject->akid->issuer; in X509_check_issued()
641 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) { in X509_check_issued()
642 gen = sk_GENERAL_NAME_value(gens, i); in X509_check_issued()
/external/openssl/apps/
Dcms.c1214 STACK_OF(GENERAL_NAME) *gens; in gnames_stack_print()
1219 gens = sk_GENERAL_NAMES_value(gns, i); in gnames_stack_print()
1220 for (j = 0; j < sk_GENERAL_NAME_num(gens); j++) in gnames_stack_print()
1222 gen = sk_GENERAL_NAME_value(gens, j); in gnames_stack_print()
1287 GENERAL_NAMES *gens = NULL; in STACK_OF() local
1300 gens = GENERAL_NAMES_new(); in STACK_OF()
1301 if (!gens) in STACK_OF()
1303 if (!sk_GENERAL_NAME_push(gens, gen)) in STACK_OF()
1306 if (!sk_GENERAL_NAMES_push(ret, gens)) in STACK_OF()
1308 gens = NULL; in STACK_OF()
[all …]
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c695 GENERAL_NAMES *gens = NULL; local
707 gens = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL, NULL);
708 if (gens == NULL)
712 if (pos > sk_GENERAL_NAME_num(gens))
715 gen = sk_GENERAL_NAME_value(gens, pos - 1);
780 if (gens)
782 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free);
/external/svox/pico/tests/data/
Dxsampa_pico_man_fr-FR.txt60 # TEST Z gens "ZA~