• Home
  • Raw
  • Download

Lines Matching refs:TEST_int_eq

158         if (!TEST_int_eq(hexed[0], hex_encoded[j])  in compare_hex_encoded_buffer()
159 || !TEST_int_eq(hexed[1], hex_encoded[j + 1])) in compare_hex_encoded_buffer()
478 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_keylog_no_master_key()
481 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_keylog_no_master_key()
539 || !TEST_int_eq(*p, 0)) in full_client_hello_callback()
578 || !TEST_int_eq(SSL_get_error(serverssl, -1), in test_client_hello_cb()
644 || !TEST_int_eq(TLS1_CK_RSA_WITH_AES_128_GCM_SHA256, in test_ccs_change_cipher()
669 } else if (!TEST_int_eq(SSL_get_error(clientssl, 0), in test_ccs_change_cipher()
676 } else if (!TEST_int_eq(SSL_get_error(serverssl, 0), in test_ccs_change_cipher()
687 || !TEST_int_eq(TLS1_CK_RSA_WITH_AES_256_GCM_SHA384, in test_ccs_change_cipher()
877 if (!TEST_int_eq(SSL_get_tlsext_status_type(clientssl), -1) in test_tlsext_status_type()
880 || !TEST_int_eq(SSL_get_tlsext_status_type(clientssl), in test_tlsext_status_type()
1072 && (!TEST_int_eq(new_called, numnewsesstick) in execute_test_session()
1074 || !TEST_int_eq(remove_called, 0))) in execute_test_session()
1093 && (!TEST_int_eq(new_called, 1) in execute_test_session()
1094 || !TEST_int_eq(remove_called, 1))) in execute_test_session()
1102 && (!TEST_int_eq(new_called, 0) in execute_test_session()
1103 || !TEST_int_eq(remove_called, 0))) in execute_test_session()
1124 && (!TEST_int_eq(new_called, numnewsesstick) in execute_test_session()
1125 || !TEST_int_eq(remove_called, 0))) in execute_test_session()
1136 && (!TEST_int_eq(new_called, 0) || !TEST_int_eq(remove_called, 1))) in execute_test_session()
1154 && (!TEST_int_eq(new_called, 0) || !TEST_int_eq(remove_called, 1))) in execute_test_session()
1171 && (!TEST_int_eq(new_called, 0) || !TEST_int_eq(remove_called, 1))) in execute_test_session()
1239 if (!TEST_int_eq(new_called, numnewsesstick) in execute_test_session()
1240 || !TEST_int_eq(remove_called, 0) in execute_test_session()
1241 || !TEST_int_eq(get_called, 0)) in execute_test_session()
1268 if (!TEST_int_eq(remove_called, 0)) in execute_test_session()
1272 if (!TEST_int_eq(new_called, 1) in execute_test_session()
1273 || !TEST_int_eq(get_called, 0)) in execute_test_session()
1276 if (!TEST_int_eq(new_called, 0) in execute_test_session()
1277 || !TEST_int_eq(get_called, 1)) in execute_test_session()
1368 if (!TEST_int_eq(SSL_do_handshake(sssl), 1) in post_handshake_verify()
1427 || !TEST_int_eq(new_called, 1)) in check_resumption()
1431 || !TEST_int_eq(new_called, idx)) in check_resumption()
1439 || !TEST_int_eq(new_called, 1))) in check_resumption()
1481 || !TEST_int_eq(idx, new_called)) in test_tickets()
1527 || !TEST_int_eq(idx, new_called)) in test_tickets()
1532 || !TEST_int_eq(idx * 2, new_called)) in test_tickets()
1611 || !TEST_int_eq(1, find_session_cb_cnt) in test_psk_tickets()
1612 || !TEST_int_eq(1, use_session_cb_cnt) in test_psk_tickets()
1614 || !TEST_int_eq(1, new_called)) in test_psk_tickets()
1990 if (!TEST_int_eq(create_ssl_connection(serverssl, clientssl, in test_set_sigalgs()
2282 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, in test_early_data_read_write()
2286 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_read_write()
2308 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_read_write()
2328 || !TEST_int_eq(SSL_get_early_data_status(clientssl), in test_early_data_read_write()
2351 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_read_write()
2382 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_read_write()
2429 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_read_write()
2444 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_read_write()
2521 if (!TEST_int_eq(SSL_CONF_cmd(confctx, "Options", "-AntiReplay"), in test_early_data_replay_int()
2561 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_replay_int()
2568 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_replay_int()
2573 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_replay_int()
2582 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_replay_int()
2585 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_replay_int()
2592 || !TEST_int_eq(SSL_session_reused(clientssl), (usecb > 0) ? 1 : 0) in test_early_data_replay_int()
2593 || !TEST_int_eq(allow_ed_cb_called, usecb > 0 ? 1 : 0)) in test_early_data_replay_int()
2674 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in early_data_skip_helper()
2678 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in early_data_skip_helper()
2733 || !TEST_int_eq(SSL_get_error(serverssl, 0), SSL_ERROR_SSL)) in early_data_skip_helper()
2751 || !TEST_int_eq(SSL_get_early_data_status(clientssl), in early_data_skip_helper()
2831 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_not_sent()
2835 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_not_sent()
2837 || !TEST_int_eq(SSL_get_early_data_status(clientssl), in test_early_data_not_sent()
3036 || !TEST_int_eq(SSL_get_error(clientssl, 0), SSL_ERROR_SSL) in test_early_data_psk()
3037 || !TEST_int_eq(ERR_GET_REASON(ERR_get_error()), err)) in test_early_data_psk()
3044 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_psk()
3048 || !TEST_int_eq(SSL_get_early_data_status(serverssl), edstatus) in test_early_data_psk()
3049 || !TEST_int_eq(SSL_connect(clientssl), connectres)) in test_early_data_psk()
3135 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_psk_with_all_ciphers()
3139 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_psk_with_all_ciphers()
3141 || !TEST_int_eq(SSL_connect(clientssl), 1) in test_early_data_psk_with_all_ciphers()
3142 || !TEST_int_eq(SSL_accept(serverssl), 1)) in test_early_data_psk_with_all_ciphers()
3199 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_not_expected()
3202 || !TEST_int_eq(SSL_get_early_data_status(clientssl), in test_early_data_not_expected()
3258 if (!TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_tls1_2()
3268 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_early_data_tls1_2()
3272 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_early_data_tls1_2()
3279 || !TEST_int_eq(SSL_get_early_data_status(clientssl), in test_early_data_tls1_2()
3498 || !TEST_int_eq(ERR_GET_REASON(ERR_get_error()), in test_ciphersuite_change()
3935 || !TEST_int_eq(SSL_stateless(serverssl), -1)) in test_stateless()
3956 || !TEST_int_eq(SSL_stateless(serverssl), 0)) in test_stateless()
3973 || !TEST_int_eq(SSL_stateless(serverssl), 0) in test_stateless()
3978 || !TEST_int_eq(SSL_stateless(serverssl), 1) in test_stateless()
4173 if (!TEST_int_eq(SSL_CTX_use_certificate_file(cctx, cert, in test_custom_exts()
4175 || !TEST_int_eq(SSL_CTX_use_PrivateKey_file(cctx, privkey, in test_custom_exts()
4177 || !TEST_int_eq(SSL_CTX_check_private_key(cctx), 1)) in test_custom_exts()
4497 if (!TEST_int_eq(SSL_export_keying_material(clientssl, ckeymat1, in test_export_key_mat()
4501 || !TEST_int_eq(SSL_export_keying_material(clientssl, ckeymat2, in test_export_key_mat()
4506 || !TEST_int_eq(SSL_export_keying_material(clientssl, ckeymat3, in test_export_key_mat()
4510 || !TEST_int_eq(SSL_export_keying_material(serverssl, skeymat1, in test_export_key_mat()
4516 || !TEST_int_eq(SSL_export_keying_material(serverssl, skeymat2, in test_export_key_mat()
4521 || !TEST_int_eq(SSL_export_keying_material(serverssl, skeymat3, in test_export_key_mat()
4597 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, sizeof(buf), in test_export_key_mat_early()
4600 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_export_key_mat_early()
4604 if (!TEST_int_eq(SSL_export_keying_material_early( in test_export_key_mat_early()
4607 || !TEST_int_eq(SSL_export_keying_material_early( in test_export_key_mat_early()
4610 || !TEST_int_eq(SSL_export_keying_material_early( in test_export_key_mat_early()
4613 || !TEST_int_eq(SSL_export_keying_material_early( in test_export_key_mat_early()
4683 if (!TEST_int_eq(SSL_write(clientssl, mess, strlen(mess)), strlen(mess)) in test_key_update()
4684 || !TEST_int_eq(SSL_read(serverssl, buf, sizeof(buf)), in test_key_update()
4688 if (!TEST_int_eq(SSL_write(serverssl, mess, strlen(mess)), strlen(mess)) in test_key_update()
4689 || !TEST_int_eq(SSL_read(clientssl, buf, sizeof(buf)), in test_key_update()
4751 if (!TEST_int_eq(SSL_write(peerwrite, mess, strlen(mess)), -1) in test_key_update_in_write()
4752 || !TEST_int_eq(SSL_get_error(peerwrite, 0), SSL_ERROR_WANT_WRITE)) in test_key_update_in_write()
4760 if (!TEST_int_eq(SSL_read(peerwrite, buf, sizeof(buf)), -1) in test_key_update_in_write()
4761 || !TEST_int_eq(SSL_get_error(peerwrite, 0), SSL_ERROR_WANT_READ)) in test_key_update_in_write()
4768 if (!TEST_int_eq(SSL_write(peerwrite, mess, strlen(mess)), strlen(mess)) in test_key_update_in_write()
4769 || !TEST_int_eq(SSL_read(peerupdate, buf, sizeof(buf)), strlen(mess))) in test_key_update_in_write()
4773 if (!TEST_int_eq(SSL_write(peerwrite, mess, strlen(mess)), strlen(mess)) in test_key_update_in_write()
4774 || !TEST_int_eq(SSL_read(peerupdate, buf, sizeof(buf)), strlen(mess))) in test_key_update_in_write()
4988 if (!TEST_int_eq(SSL_do_handshake(serverssl), 1)) in test_pha_key_update()
5178 if (!TEST_int_eq(SRP_VBASE_init(vbase, tstsrpfile), SRP_NO_ERROR)) in test_srp()
5351 && !TEST_int_eq(strcmp(SSL_state_string(s), in sslapi_info_callback()
5427 || !TEST_int_eq(SSL_read_early_data(serverssl, buf, in test_info_callback()
5431 || !TEST_int_eq(SSL_get_early_data_status(serverssl), in test_info_callback()
5526 if (!TEST_int_eq(SSL_pending(clientssl), 0) in test_ssl_pending()
5528 || !TEST_int_eq(SSL_pending(serverssl), 0) in test_ssl_pending()
5534 || !TEST_int_eq(SSL_pending(clientssl), (int)(written - readbytes)) in test_ssl_pending()
5649 || !TEST_int_eq(strcmp(buf, shared_ciphers_data[tst].shared), 0)) { in test_ssl_get_shared_ciphers()
5699 || !TEST_int_eq(memcmp(tickdata, appdata, tickdlen), 0)) in dec_tick_cb()
5841 if (!TEST_int_eq(gen_tick_called, 1) in test_ticket_callbacks()
5842 || !TEST_int_eq(dec_tick_called, ((tst % 2) == 0) ? 1 : 0)) in test_ticket_callbacks()
5871 if (!TEST_int_eq(gen_tick_called, in test_ticket_callbacks()
5876 || !TEST_int_eq(dec_tick_called, 1)) in test_ticket_callbacks()
5951 if (!TEST_int_eq(SSL_shutdown(clientssl), 0)) in test_shutdown()
5960 || !TEST_int_eq(SSL_get_error(serverssl, 0), in test_shutdown()
5962 || !TEST_int_eq(SSL_get_shutdown(serverssl), in test_shutdown()
5982 if (!TEST_int_eq(SSL_shutdown(serverssl), 1)) in test_shutdown()
5989 || !TEST_int_eq(memcmp(msg, buf, readbytes), 0) in test_shutdown()
5993 || !TEST_int_eq(memcmp(msg, buf, readbytes), 0)) in test_shutdown()
6008 if (!TEST_int_eq(SSL_shutdown(serverssl), 0) in test_shutdown()
6014 || !TEST_int_eq(SSL_shutdown(clientssl), 1) in test_shutdown()
6017 || !TEST_int_eq(SSL_shutdown(serverssl), 1)) in test_shutdown()
6025 if (!TEST_int_eq(SSL_shutdown(clientssl), 1) in test_shutdown()
6037 if (!TEST_int_eq(SSL_shutdown(clientssl), -1) in test_shutdown()
6038 || !TEST_int_eq(SSL_get_error(clientssl, -1), SSL_ERROR_SSL)) in test_shutdown()
6206 && !TEST_int_eq((cert_cb_cnt - 2) * (cert_cb_cnt - 3), 0))) { in test_cert_cb_int()
6406 || !TEST_int_eq(sk_X509_NAME_num(sktmp), 2) in test_ca_names_int()
6407 || !TEST_int_eq(X509_NAME_cmp(sk_X509_NAME_value(sktmp, 0), in test_ca_names_int()
6409 || !TEST_int_eq(X509_NAME_cmp(sk_X509_NAME_value(sktmp, 1), in test_ca_names_int()
6423 || !TEST_int_eq(sk_X509_NAME_num(sktmp), 2) in test_ca_names_int()
6424 || !TEST_int_eq(X509_NAME_cmp(sk_X509_NAME_value(sktmp, 0), in test_ca_names_int()
6426 || !TEST_int_eq(X509_NAME_cmp(sk_X509_NAME_value(sktmp, 1), in test_ca_names_int()
6523 if (!TEST_int_eq(SSL_shutdown(clientssl), 0) in test_servername()
6526 || !TEST_int_eq(SSL_shutdown(serverssl), 0)) in test_servername()
6656 if (!TEST_int_eq(SSL_get_min_proto_version(client2ssl), TLS1_2_VERSION) in test_ssl_dup()
6657 || !TEST_int_eq(SSL_get_max_proto_version(client2ssl), TLS1_2_VERSION)) in test_ssl_dup()
6724 if (!TEST_int_eq(snicb, 1)) in test_sni_tls13()
6827 if (!TEST_int_eq(X509_VERIFY_PARAM_get_hostflags(cp), 0)) in test_inherit_verify_param()
6839 if (!TEST_int_eq(X509_VERIFY_PARAM_get_hostflags(sp), hostflags)) in test_inherit_verify_param()