Lines Matching refs:value
20 static int v3_check_critical(const char **value);
21 static int v3_check_generic(const char **value);
23 int crit, const char *value);
24 static X509_EXTENSION *v3_generic_extension(const char *ext, const char *value,
27 static char *conf_lhash_get_string(void *db, const char *section, const char *value);
31 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx,
36 const char *name, const char *value)
42 crit = v3_check_critical(&value);
43 if ((ext_type = v3_check_generic(&value)))
44 return v3_generic_extension(name, value, crit, ext_type, ctx);
45 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value);
49 "section=%s, name=%s, value=%s",
50 section, name, value);
53 "name=%s, value=%s", name, value);
59 const char *value)
61 return X509V3_EXT_nconf_int(conf, ctx, NULL, name, value);
65 const char *value)
70 crit = v3_check_critical(&value);
71 if ((ext_type = v3_check_generic(&value)))
73 value, crit, ext_type, ctx);
74 return do_ext_nconf(conf, ctx, ext_nid, crit, value);
78 /* char *value: Value */
80 int crit, const char *value)
97 if (*value == '@')
98 nval = NCONF_get_section(conf, value + 1);
100 nval = X509V3_parse_list(value);
103 "name=%s,section=%s", OBJ_nid2sn(ext_nid), value);
104 if (*value != '@')
109 if (*value != '@')
114 if ((ext_struc = method->s2i(method, ctx, value)) == NULL)
121 if ((ext_struc = method->r2i(method, ctx, value)) == NULL)
199 static int v3_check_critical(const char **value)
201 const char *p = *value;
208 *value = p;
213 static int v3_check_generic(const char **value)
216 const char *p = *value;
229 *value = p;
234 static X509_EXTENSION *v3_generic_extension(const char *ext, const char *value,
251 ext_der = OPENSSL_hexstr2buf(value, &ext_len);
253 ext_der = generic_asn1(value, ctx, &ext_len);
257 "value=%s", value);
280 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx,
286 typ = ASN1_generate_v3(value, ctx);
322 val->name, val->value)) == NULL)
419 static char *nconf_get_string(void *db, const char *section, const char *value)
421 return NCONF_get_string(db, section, value);
481 const char *name, const char *value)
489 ret = X509V3_EXT_nconf(ctmp, ctx, name, value);
496 X509V3_CTX *ctx, int ext_nid, const char *value)
504 ret = X509V3_EXT_nconf_nid(ctmp, ctx, ext_nid, value);
510 static char *conf_lhash_get_string(void *db, const char *section, const char *value)
512 return CONF_get_string(db, section, value);