Lines Matching refs:TEST_true

80     if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),  in test_dtls_unprocessed()
87 if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA"))) in test_dtls_unprocessed()
91 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0")) in test_dtls_unprocessed()
92 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_dtls_unprocessed()
102 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1, in test_dtls_unprocessed()
127 if (!TEST_true(create_bare_ssl_connection(serverssl1, clientssl1, in test_dtls_unprocessed()
202 if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(), in test_dtls_drop_records()
210 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_dtls_drop_records()
211 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_dtls_drop_records()
216 if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1))) in test_dtls_drop_records()
225 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
227 || !TEST_true(create_ssl_connection(serverssl, clientssl, in test_dtls_drop_records()
255 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
260 if (!TEST_true(SSL_set_session(clientssl, sess))) in test_dtls_drop_records()
286 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in test_dtls_drop_records()
289 if (sess != NULL && !TEST_true(SSL_session_reused(clientssl))) in test_dtls_drop_records()
315 if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(), in test_cookie()
327 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_cookie()
328 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_cookie()
333 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_cookie()
335 || !TEST_true(create_ssl_connection(serverssl, clientssl, in test_cookie()
355 if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(), in test_dtls_duplicate_records()
363 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_dtls_duplicate_records()
364 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_dtls_duplicate_records()
369 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_duplicate_records()
379 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in test_dtls_duplicate_records()
423 if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(), in test_just_finished()
481 if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(), in test_swap_records()
488 if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA"))) in test_swap_records()
492 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0")) in test_swap_records()
493 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_swap_records()
498 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, in test_swap_records()
518 || !TEST_true(mempacket_swap_epoch(bio))) in test_swap_records()
535 if (!TEST_true(mempacket_move_packet(bio, 0, 1))) in test_swap_records()
539 if (!TEST_true(mempacket_move_packet(bio, 0, 2))) in test_swap_records()
544 if (!TEST_true(mempacket_move_packet(bio, 1, 2))) in test_swap_records()
564 || !TEST_true(SSL_has_pending(cssl))) in test_swap_records()