Lines Matching refs:stack
822 static int add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in add_file_cert_subjects_to_stack() argument
852 } else if (!sk_X509_NAME_push(stack, xn)) { in add_file_cert_subjects_to_stack()
872 int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_file_cert_subjects_to_stack() argument
897 num = sk_X509_NAME_num(stack); in SSL_add_file_cert_subjects_to_stack()
899 xn = sk_X509_NAME_value(stack, idx); in SSL_add_file_cert_subjects_to_stack()
903 ret = add_file_cert_subjects_to_stack(stack, file, name_hash); in SSL_add_file_cert_subjects_to_stack()
913 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_dir_cert_subjects_to_stack() argument
935 num = sk_X509_NAME_num(stack); in SSL_add_dir_cert_subjects_to_stack()
937 xn = sk_X509_NAME_value(stack, idx); in SSL_add_dir_cert_subjects_to_stack()
968 if (!add_file_cert_subjects_to_stack(stack, buf, name_hash)) in SSL_add_dir_cert_subjects_to_stack()
989 static int add_uris_recursive(STACK_OF(X509_NAME) *stack, in add_uris_recursive() argument
1013 ok = add_uris_recursive(stack, OSSL_STORE_INFO_get0_NAME(info), in add_uris_recursive()
1020 if (sk_X509_NAME_find(stack, xn) >= 0) { in add_uris_recursive()
1023 } else if (!sk_X509_NAME_push(stack, xn)) { in add_uris_recursive()
1043 int SSL_add_store_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, in SSL_add_store_cert_subjects_to_stack() argument
1047 = sk_X509_NAME_set_cmp_func(stack, xname_sk_cmp); in SSL_add_store_cert_subjects_to_stack()
1048 int ret = add_uris_recursive(stack, store, 1); in SSL_add_store_cert_subjects_to_stack()
1050 (void)sk_X509_NAME_set_cmp_func(stack, oldcmp); in SSL_add_store_cert_subjects_to_stack()