Lines Matching refs:section
71 return (lh_strhash(v->section) << 2) ^ lh_strhash(v->name);
77 if (a->section != b->section) {
78 i = strcmp(a->section, b->section);
115 if (value->section) {
116 OPENSSL_free(value->section);
145 CONF_VALUE *NCONF_new_section(const CONF *conf, const char *section) {
155 i = strlen(section) + 1;
156 v->section = OPENSSL_malloc(i);
157 if (v->section == NULL) {
161 memcpy(v->section, section, i);
162 v->section[i-1] = 0;
187 static int str_copy(CONF *conf, char *section, char **pto, char *from) {
267 cp = section;
296 * cp which is the start of the section string which is
345 static CONF_VALUE *get_section(const CONF *conf, const char *section) {
349 template.section = (char *) section;
353 STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section) {
354 CONF_VALUE *section_value = get_section(conf, section);
361 const char *NCONF_get_string(const CONF *conf, const char *section,
366 template.section = (char *) section;
375 int add_string(const CONF *conf, CONF_VALUE *section, CONF_VALUE *value) {
376 STACK_OF(CONF_VALUE) *section_stack = (STACK_OF(CONF_VALUE)*) section->value;
379 value->section = section->section;
504 char *section = NULL, *buf;
512 section = (char *)OPENSSL_malloc(10);
513 if (section == NULL) {
517 BUF_strlcpy(section, "default", 10);
519 sv = NCONF_new_section(conf, section);
602 if (!str_copy(conf, NULL, §ion, start)) {
605 if ((sv = get_section(conf, section)) == NULL) {
606 sv = NCONF_new_section(conf, section);
647 psection = section;
660 if (strcmp(psection, section) != 0) {
681 if (section != NULL) {
682 OPENSSL_free(section);
690 if (section != NULL) {
691 OPENSSL_free(section);