Searched refs:gens (Results 1 – 7 of 7) sorted by relevance
/external/openssl/crypto/x509v3/ |
D | v3_alt.c | 66 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 …]
|
D | v3_crld.c | 106 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()
|
D | v3_utl.c | 70 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 …]
|
D | v3_akey.c | 119 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()
|
D | v3_purp.c | 636 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/ |
D | cms.c | 1214 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/ |
D | crypto_openssl.c | 701 GENERAL_NAMES *gens = NULL; local 713 gens = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL, NULL); 714 if (gens == NULL) 718 if (pos > sk_GENERAL_NAME_num(gens)) 721 gen = sk_GENERAL_NAME_value(gens, pos - 1); 786 if (gens) 788 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free);
|