Home
last modified time | relevance | path

Searched refs:TEST_str_eq (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/crypto/openssl/test/
H A Dparam_build_test.c142 || !TEST_str_eq(p->key, "i") in template_public_test()
149 || !TEST_str_eq(p->key, "i32") in template_public_test()
155 || !TEST_str_eq(p->key, "i64") in template_public_test()
162 || !TEST_str_eq(p->key, "l") in template_public_test()
169 || !TEST_str_eq(p->key, "t") in template_public_test()
177 || !TEST_str_eq(p->key, "d") in template_public_test()
185 || !TEST_str_eq(utf, "foo") in template_public_test()
285 || !TEST_str_eq(p->key, "i") in template_private_test()
308 || !TEST_str_eq(p->key, "l") in template_private_test()
455 || !TEST_str_eq(p->key, "i") in builder_merge_test()
[all …]
H A Dcipherbytes_test.c58 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 0)), in test_unsupported()
113 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 0)), in test_v3()
115 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 1)), in test_v3()
117 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 2)), in test_v3()
119 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(scsv, 0)), in test_v3()
121 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(scsv, 1)), in test_v3()
H A Dssl_test_ctx_test.c41 || !TEST_str_eq(conf1->npn_protocols, conf2->npn_protocols) in clientconf_eq()
42 || !TEST_str_eq(conf1->alpn_protocols, conf2->alpn_protocols) in clientconf_eq()
54 || !TEST_str_eq(serv->npn_protocols, serv2->npn_protocols) in serverconf_eq()
55 || !TEST_str_eq(serv->alpn_protocols, serv2->alpn_protocols) in serverconf_eq()
58 || !TEST_str_eq(serv->session_ticket_app_data, in serverconf_eq()
94 || !TEST_str_eq(ctx->expected_npn_protocol, in testctx_eq()
96 || !TEST_str_eq(ctx->expected_alpn_protocol, in testctx_eq()
98 || !TEST_str_eq(ctx->expected_cipher, in testctx_eq()
100 || !TEST_str_eq(ctx->expected_session_ticket_app_data, in testctx_eq()
H A Dciphername_test.c390 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
396 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
402 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
445 if (!TEST_str_eq(p, q)) { in test_cipher_name()
453 if (!TEST_str_eq(r, q)) { in test_cipher_name()
H A Dtest_test.c260 if (!TEST(1, TEST_str_eq(NULL, NULL)) in test_string()
261 || !TEST(1, TEST_str_eq("abc", buf)) in test_string()
262 || !TEST(0, TEST_str_eq("abc", NULL)) in test_string()
263 || !TEST(0, TEST_str_eq("abc", "")) in test_string()
264 || !TEST(0, TEST_str_eq(NULL, buf)) in test_string()
266 || !TEST(0, TEST_str_eq("", NULL)) in test_string()
267 || !TEST(0, TEST_str_eq(NULL, "")) in test_string()
395 return TEST(0, TEST_str_eq(p, q)) in test_long_output()
396 & TEST(0, TEST_str_eq(q, r)) in test_long_output()
397 & TEST(0, TEST_str_eq(r, s)) in test_long_output()
[all …]
H A Derrtest.c139 return TEST_str_eq(data, "hello world"); in vdata_appends()
165 || !TEST_str_eq(f, file) in raised_error()
167 || !TEST_str_eq(data, "calling exit()")) in raised_error()
299 if (!TEST_str_eq(data, "hello world") in test_clear_error()
307 if (!TEST_str_eq(data, "") in test_clear_error()
315 if (!TEST_str_eq(data, "goodbye cruel world") in test_clear_error()
326 if (!TEST_str_eq(data, "") in test_clear_error()
H A Dcmactest.c123 if (!TEST_str_eq(p, test[0].mac)) in test_cmac_run()
133 if (!TEST_str_eq(p, test[1].mac)) in test_cmac_run()
141 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
149 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
159 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
189 if (!TEST_str_eq(p, test[0].mac)) in test_cmac_copy()
H A Dhmactest.c103 return TEST_ptr(p) && TEST_str_eq(p, test[idx].digest); in test_hmac_md5()
152 if (!TEST_ptr(p) || !TEST_str_eq(p, test[4].digest)) in test_hmac_run()
165 if (!TEST_ptr(p) || !TEST_str_eq(p, test[5].digest)) in test_hmac_run()
173 if (!TEST_ptr(p) || !TEST_str_eq(p, test[6].digest)) in test_hmac_run()
182 if (!TEST_ptr(p) || !TEST_str_eq(p, test[6].digest)) in test_hmac_run()
194 if (!TEST_ptr(p) || !TEST_str_eq(p, test[6].digest)) in test_hmac_run()
211 if (!TEST_ptr(p) || !TEST_str_eq(p, test[4].digest)) in test_hmac_single_shot()
238 if (!TEST_ptr(p) || !TEST_str_eq(p, test[7].digest)) in test_hmac_copy()
H A Dhttp_test.c214 && TEST_str_eq(host, exp_host) in test_http_url_ok()
215 && TEST_str_eq(port, exp_port) in test_http_url_ok()
217 && TEST_str_eq(path, exp_path) in test_http_url_ok()
220 res = TEST_str_eq(user, "user:pass"); in test_http_url_ok()
222 res = TEST_str_eq(frag, "fr"); in test_http_url_ok()
224 res = TEST_str_eq(query, "q"); in test_http_url_ok()
241 && TEST_str_eq(host, "host") in test_http_url_path_query_ok()
242 && TEST_str_eq(path, exp_path_qu); in test_http_url_path_query_ok()
H A Dhexstr_test.c74 || !TEST_str_eq(out, test->in)) in test_hexstr_sep_to_from()
98 if (!TEST_str_eq(out, test->in)) in test_hexstr_to_from()
125 && TEST_str_eq(out, test->in); in test_hexstr_ex_to_from()
H A Dparams_test.c465 || !TEST_str_eq(app_p4, p4_init) /* "provider" value */ in test_case_variant()
469 || !TEST_str_eq(app_p5, p5_init) /* "provider" value */ in test_case_variant()
473 || !TEST_str_eq(app_p6, p6_init) /* "provider" value */ in test_case_variant()
492 || !TEST_str_eq(sneakpeek->p4, app_p4) /* app value set */ in test_case_variant()
493 || !TEST_str_eq(sneakpeek->p5, app_p5) /* app value set */ in test_case_variant()
494 || !TEST_str_eq(sneakpeek->p6, app_p6)) /* app value set */ in test_case_variant()
516 || !TEST_str_eq(app_p4, app_p4_init) /* app value */ in test_case_variant()
520 || !TEST_str_eq(app_p5, app_p5_init) /* app value */ in test_case_variant()
524 || !TEST_str_eq(app_p6, app_p6_init) /* app value */ in test_case_variant()
H A Duitest.c61 if (TEST_str_eq(pass, defpass)) in test_old()
83 && TEST_str_eq(pass, cb_data.password)) in test_new_ui()
H A Dpunycode_test.c185 || !TEST_str_eq(out,"\xc2\x80.b.c")) in test_a2ulabel()
192 || !TEST_str_eq(out,"\xc2\x80.b.c")) in test_a2ulabel()
H A Dssl_test.c172 if (!TEST_str_eq(result->client_npn_negotiated, in check_npn()
175 if (!TEST_str_eq(test_ctx->expected_npn_protocol, in check_npn()
185 if (!TEST_str_eq(result->client_alpn_negotiated, in check_alpn()
188 if (!TEST_str_eq(test_ctx->expected_alpn_protocol, in check_alpn()
208 if (!TEST_str_eq(result->result_session_ticket_app_data, in check_session_ticket_app_data()
351 if (!TEST_str_eq(test_ctx->expected_cipher, in check_cipher()
H A Dbioprinttest.c137 if (!TEST_str_eq(bio_buf, data->expected)) in test_zu()
165 if (!TEST_str_eq(bio_buf, data->expected)) in test_j()
210 } else if (!TEST_str_eq(fpexpected[test][sub][i], result)) { in dofptest()
H A Dbio_core_test.c92 || !TEST_str_eq(buf, msg)) in test_bio_core()
98 || !TEST_str_eq(buf, msg)) in test_bio_core()
H A Dservername_test.c138 if (!TEST_str_eq(hostname, host)) in client_setup_sni_before_state()
191 if (!TEST_str_eq(hostname, host)) in client_setup_sni_after_state()
H A Dprovider_fallback_test.c24 && TEST_str_eq(OSSL_PROVIDER_get0_name(prov), "default"); in test_provider()
H A Dproperty_test.c456 || !TEST_str_eq((char *)result, queries[i].expected)) { in test_property()
476 || !TEST_str_eq((char *)result, queries[i].expected)) { in test_property()
508 || !TEST_str_eq((char *)result, queries[i].expected)) { in test_property()
650 || !TEST_str_eq(to_string_tests[i].out, buf) in test_property_list_to_string()
H A Ddefltfips_test.c55 && !TEST_str_eq(OSSL_PROVIDER_get0_name(EVP_MD_get0_provider(sha256)), in test_is_fips_enabled()
H A Dprovider_pkey_test.c144 if (!TEST_str_eq(provname, "default")) in test_alternative_keygen_init()
167 if (!TEST_str_eq(provname, "fake-rsa")) in test_alternative_keygen_init()
H A Dcmp_status_test.c55 || !TEST_str_eq(fixture->str, ossl_cmp_PKIStatus_to_string(status))) in execute_PKISI_test()
H A Dcmp_ctx_test.c252 (TEST_str_eq(func, "execute_cmp_ctx_log_cb_test") in test_log_cb()
253 || TEST_str_eq(func, "(unknown function)")) && in test_log_cb()
255 (TEST_str_eq(file, OPENSSL_FILE) in test_log_cb()
256 || TEST_str_eq(file, "(no file)")) in test_log_cb()
259 && TEST_str_eq(msg, "ok"); in test_log_cb()
H A Dx509_time_test.c551 if (rv == 0 && !TEST_str_eq(readable, "Bad time value")) { in test_x509_time_print_rfc_822()
579 if (rv == 0 && !TEST_str_eq(readable, "Bad time value")) { in test_x509_time_print_iso_8601()
H A Dprovider_internal_test.c33 && TEST_str_eq(greeting, expected_greeting) in test_provider()

12