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) in X509V3_EXT_nconf_int() argument
42 crit = v3_check_critical(&value); in X509V3_EXT_nconf_int()
43 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_int()
44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf_int()
45 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); in X509V3_EXT_nconf_int()
50 section, name, value); in X509V3_EXT_nconf_int()
53 "name=%s, value=%s", name, value); in X509V3_EXT_nconf_int()
59 const char *value) in X509V3_EXT_nconf() argument
61 return X509V3_EXT_nconf_int(conf, ctx, NULL, name, value); in X509V3_EXT_nconf()
65 const char *value) in X509V3_EXT_nconf_nid() argument
70 crit = v3_check_critical(&value); in X509V3_EXT_nconf_nid()
71 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid()
73 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
74 return do_ext_nconf(conf, ctx, ext_nid, crit, value); in X509V3_EXT_nconf_nid()
80 int crit, const char *value) in do_ext_nconf() argument
97 if (*value == '@') in do_ext_nconf()
98 nval = NCONF_get_section(conf, value + 1); in do_ext_nconf()
100 nval = X509V3_parse_list(value); in do_ext_nconf()
103 "name=%s,section=%s", OBJ_nid2sn(ext_nid), value); in do_ext_nconf()
104 if (*value != '@') in do_ext_nconf()
109 if (*value != '@') in do_ext_nconf()
114 if ((ext_struc = method->s2i(method, ctx, value)) == NULL) in do_ext_nconf()
121 if ((ext_struc = method->r2i(method, ctx, value)) == NULL) in do_ext_nconf()
206 static int v3_check_critical(const char **value) in v3_check_critical() argument
208 const char *p = *value; in v3_check_critical()
214 *value = p; in v3_check_critical()
219 static int v3_check_generic(const char **value) in v3_check_generic() argument
222 const char *p = *value; in v3_check_generic()
233 *value = p; in v3_check_generic()
238 static X509_EXTENSION *v3_generic_extension(const char *ext, const char *value, in v3_generic_extension() argument
255 ext_der = OPENSSL_hexstr2buf(value, &ext_len); in v3_generic_extension()
257 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
261 "value=%s", value); in v3_generic_extension()
284 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx, in generic_asn1() argument
290 typ = ASN1_generate_v3(value, ctx); in generic_asn1()
340 val->name, val->value)) == NULL) in X509V3_EXT_add_nconf_sk()
437 static char *nconf_get_string(void *db, const char *section, const char *value) in nconf_get_string() argument
439 return NCONF_get_string(db, section, value); in nconf_get_string()
499 const char *name, const char *value) in X509V3_EXT_conf() argument
507 ret = X509V3_EXT_nconf(ctmp, ctx, name, value); in X509V3_EXT_conf()
514 X509V3_CTX *ctx, int ext_nid, const char *value) in X509V3_EXT_conf_nid() argument
522 ret = X509V3_EXT_nconf_nid(ctmp, ctx, ext_nid, value); in X509V3_EXT_conf_nid()
528 static char *conf_lhash_get_string(void *db, const char *section, const char *value) in conf_lhash_get_string() argument
530 return CONF_get_string(db, section, value); in conf_lhash_get_string()