Lines Matching refs:value
26 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
27 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
90 if (gen->d.otherName->value->type != V_ASN1_UTF8STRING in STACK_OF()
92 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
93 gen->d.otherName->value->value.utf8string->length, in STACK_OF()
98 if (gen->d.otherName->value->type != V_ASN1_UTF8STRING in STACK_OF()
100 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
101 gen->d.otherName->value->value.utf8string->length, in STACK_OF()
106 if (gen->d.otherName->value->type != V_ASN1_IA5STRING in STACK_OF()
108 gen->d.otherName->value->value.ia5string->data, in STACK_OF()
109 gen->d.otherName->value->value.ia5string->length, in STACK_OF()
114 if (gen->d.otherName->value->type != V_ASN1_UTF8STRING in STACK_OF()
116 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
117 gen->d.otherName->value->value.utf8string->length, in STACK_OF()
122 if (gen->d.otherName->value->type != V_ASN1_UTF8STRING in STACK_OF()
124 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
125 gen->d.otherName->value->value.utf8string->length, in STACK_OF()
137 if (gen->d.otherName->value->type == V_ASN1_IA5STRING) { in STACK_OF()
139 gen->d.otherName->value->value.ia5string->data, in STACK_OF()
140 gen->d.otherName->value->value.ia5string->length, in STACK_OF()
144 if (gen->d.otherName->value->type == V_ASN1_UTF8STRING) { in STACK_OF()
146 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
147 gen->d.otherName->value->value.utf8string->length, in STACK_OF()
217 && gen->d.otherName->value->type != V_ASN1_IA5STRING) in GENERAL_NAME_print()
219 && gen->d.otherName->value->type != V_ASN1_UTF8STRING)) { in GENERAL_NAME_print()
227 gen->d.otherName->value->value.utf8string->length, in GENERAL_NAME_print()
228 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
232 gen->d.otherName->value->value.utf8string->length, in GENERAL_NAME_print()
233 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
237 gen->d.otherName->value->value.ia5string->length, in GENERAL_NAME_print()
238 gen->d.otherName->value->value.ia5string->data); in GENERAL_NAME_print()
242 gen->d.otherName->value->value.utf8string->length, in GENERAL_NAME_print()
243 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
247 gen->d.otherName->value->value.utf8string->length, in GENERAL_NAME_print()
248 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
317 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_issuer_alt()
396 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_subject_alt()
400 && cnf->value && strcmp(cnf->value, "move") == 0) { in v2i_subject_alt()
508 X509V3_CTX *ctx, int gen_type, const char *value, in a2i_GENERAL_NAME() argument
514 if (!value) { in a2i_GENERAL_NAME()
539 if ((obj = OBJ_txt2obj(value, 0)) == NULL) { in a2i_GENERAL_NAME()
541 "value=%s", value); in a2i_GENERAL_NAME()
550 gen->d.ip = a2i_IPADDRESS_NC(value); in a2i_GENERAL_NAME()
552 gen->d.ip = a2i_IPADDRESS(value); in a2i_GENERAL_NAME()
555 "value=%s", value); in a2i_GENERAL_NAME()
561 if (!do_dirname(gen, value, ctx)) { in a2i_GENERAL_NAME()
568 if (!do_othername(gen, value, ctx)) { in a2i_GENERAL_NAME()
580 !ASN1_STRING_set(gen->d.ia5, (unsigned char *)value, in a2i_GENERAL_NAME()
581 strlen(value))) { in a2i_GENERAL_NAME()
605 char *name, *value; in v2i_GENERAL_NAME_ex() local
608 value = cnf->value; in v2i_GENERAL_NAME_ex()
610 if (!value) { in v2i_GENERAL_NAME_ex()
635 return a2i_GENERAL_NAME(out, method, ctx, type, value, is_nc); in v2i_GENERAL_NAME_ex()
639 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx) in do_othername() argument
644 if ((p = strchr(value, ';')) == NULL) in do_othername()
652 ASN1_TYPE_free(gen->d.otherName->value); in do_othername()
653 if ((gen->d.otherName->value = ASN1_generate_v3(p + 1, ctx)) == NULL) in do_othername()
655 objlen = p - value; in do_othername()
656 objtmp = OPENSSL_strndup(value, objlen); in do_othername()
671 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx) in do_dirname() argument
679 sk = X509V3_get_section(ctx, value); in do_dirname()
682 "section=%s", value); in do_dirname()