Lines Matching full:sn
189 #undef SN in tests_X509_PURPOSE()
190 #define SN "SN_test" in tests_X509_PURPOSE() macro
192 #define ARGS(id, sn) id, X509_TRUST_MAX, 0, ck_purp, LN, sn, NULL in tests_X509_PURPOSE() argument
196 && TEST_int_eq(X509_PURPOSE_get_by_sname(SN), -1) in tests_X509_PURPOSE()
199 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN)), 1) in tests_X509_PURPOSE()
200 && TEST_int_ne((idx = X509_PURPOSE_get_by_sname(SN)), -1) in tests_X509_PURPOSE()
204 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN)), 1) in tests_X509_PURPOSE()
205 && TEST_int_eq(X509_PURPOSE_get_by_sname(SN), idx) in tests_X509_PURPOSE()
209 && TEST_int_eq(X509_PURPOSE_add(ARGS(X509_PURPOSE_MAX, SN)), 0) in tests_X509_PURPOSE()
211 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN"_different")), 0) in tests_X509_PURPOSE()
216 && TEST_str_eq(X509_PURPOSE_get0_sname(xp), SN) in tests_X509_PURPOSE()