Home
last modified time | relevance | path

Searched refs:sk1 (Results 1 – 3 of 3) sorted by relevance

/openssl/test/helpers/
H A Dcmp_testlib.c35 int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2) in STACK_OF_X509_cmp() argument
40 if (sk1 == sk2) in STACK_OF_X509_cmp()
42 if (sk1 == NULL) in STACK_OF_X509_cmp()
46 if ((res = sk_X509_num(sk1) - sk_X509_num(sk2))) in STACK_OF_X509_cmp()
48 for (i = 0; i < sk_X509_num(sk1); i++) { in STACK_OF_X509_cmp()
49 a = sk_X509_value(sk1, i); in STACK_OF_X509_cmp()
H A Dcmp_testlib.h26 int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2);
/openssl/test/
H A Dsslapitest.c9103 STACK_OF(X509_NAME) *sk1 = NULL, *sk2 = NULL; in test_ca_names_int()
9127 if (!TEST_ptr(sk1 = sk_X509_NAME_new_null()) in test_ca_names_int()
9128 || !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[0]))) in test_ca_names_int()
9129 || !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[1]))) in test_ca_names_int()
9135 SSL_CTX_set0_CA_list(sctx, sk1); in test_ca_names_int()
9137 sk1 = sk2 = NULL; in test_ca_names_int()
9140 if (!TEST_ptr(sk1 = sk_X509_NAME_new_null()) in test_ca_names_int()
9141 || !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[2]))) in test_ca_names_int()
9148 SSL_CTX_set_client_CA_list(sctx, sk1); in test_ca_names_int()
9150 sk1 = sk2 = NULL; in test_ca_names_int()
[all …]

Completed in 44 milliseconds