Lines Matching refs:cctx
73 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_unprocessed() local
83 &sctx, &cctx, cert, privkey))) in test_dtls_unprocessed()
87 if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA"))) 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()
141 SSL_CTX_free(cctx); in test_dtls_unprocessed()
193 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_drop_records() local
205 &sctx, &cctx, cert, privkey))) in test_dtls_drop_records()
211 || !TEST_true(SSL_CTX_set_cipher_list(cctx, in test_dtls_drop_records()
225 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
255 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
303 SSL_CTX_free(cctx); in test_dtls_drop_records()
311 SSL_CTX *sctx = NULL, *cctx = NULL; in test_cookie() local
318 &sctx, &cctx, cert, privkey))) 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()
344 SSL_CTX_free(cctx); in test_cookie()
351 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_duplicate_records() local
358 &sctx, &cctx, cert, privkey))) 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()
387 SSL_CTX_free(cctx); in test_dtls_duplicate_records()
474 SSL_CTX *sctx = NULL, *cctx = NULL; in test_swap_records() local
484 &sctx, &cctx, cert, privkey))) in test_swap_records()
488 if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA"))) 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()
578 SSL_CTX_free(cctx); in test_swap_records()