Lines Matching refs:clientssl

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()
229 || !TEST_ptr(sess = SSL_get1_session(clientssl))) in test_dtls_drop_records()
232 SSL_shutdown(clientssl); in test_dtls_drop_records()
235 SSL_free(clientssl); 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()
260 if (!TEST_true(SSL_set_session(clientssl, sess))) in test_dtls_drop_records()
264 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_drop_records()
276 mempackbio = SSL_get_wbio(clientssl); 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()
301 SSL_free(clientssl); 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()
342 SSL_free(clientssl); 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()
373 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_duplicate_records()
376 BIO_ctrl(SSL_get_wbio(clientssl), 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()
385 SSL_free(clientssl); in test_dtls_duplicate_records()
594 SSL *serverssl = NULL, *clientssl = NULL; in test_listen() local
614 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_listen()
618 DTLS_set_timer_cb(clientssl, timer_cb); in test_listen()
625 if (!TEST_true(create_bare_ssl_connection(serverssl, clientssl, in test_listen()
632 SSL_free(clientssl); in test_listen()