Lines Matching refs:serverssl

194     SSL *serverssl = NULL, *clientssl = NULL;  in test_dtls_drop_records()  local
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()
233 SSL_shutdown(serverssl); in test_dtls_drop_records()
234 SSL_free(serverssl); in test_dtls_drop_records()
236 serverssl = clientssl = NULL; in test_dtls_drop_records()
255 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
265 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_drop_records()
269 mempackbio = SSL_get_wbio(serverssl); in test_dtls_drop_records()
286 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in test_dtls_drop_records()
300 SSL_free(serverssl); in test_dtls_drop_records()
312 SSL *serverssl = NULL, *clientssl = NULL; in test_cookie() local
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()
341 SSL_free(serverssl); in test_cookie()
352 SSL *serverssl = NULL, *clientssl = NULL; in test_dtls_duplicate_records() local
369 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_duplicate_records()
374 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_duplicate_records()
377 BIO_ctrl(SSL_get_wbio(serverssl), MEMPACKET_CTRL_SET_DUPLICATE_REC, 1, NULL); in test_dtls_duplicate_records()
379 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in test_dtls_duplicate_records()
384 SSL_free(serverssl); in test_dtls_duplicate_records()
400 SSL *serverssl = NULL; in test_just_finished() local
428 serverssl = SSL_new(sctx); in test_just_finished()
432 if (!TEST_ptr(serverssl) || !TEST_ptr(rbio) || !TEST_ptr(wbio)) in test_just_finished()
436 SSL_set0_rbio(serverssl, rbio); in test_just_finished()
437 SSL_set0_wbio(serverssl, wbio); in test_just_finished()
439 DTLS_set_timer_cb(serverssl, timer_cb); in test_just_finished()
445 if (!TEST_int_le(ret = SSL_accept(serverssl), 0)) in test_just_finished()
449 if (!TEST_int_eq(SSL_get_error(serverssl, ret), SSL_ERROR_SSL)) in test_just_finished()
459 SSL_free(serverssl); in test_just_finished()