Lines Matching refs:sctx
57 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_unprocessed() local
67 &sctx, &cctx, cert, privkey))) in test_dtls_unprocessed()
75 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0")) in test_dtls_unprocessed()
86 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1, in test_dtls_unprocessed()
124 SSL_CTX_free(sctx); in test_dtls_unprocessed()
164 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_drop_records() local
175 &sctx, &cctx, cert, privkey))) in test_dtls_drop_records()
180 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_dtls_drop_records()
186 if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1))) in test_dtls_drop_records()
191 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
219 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_drop_records()
266 SSL_CTX_free(sctx); in test_dtls_drop_records()
291 SSL_CTX *sctx = NULL, *cctx = NULL; in test_cookie() local
298 &sctx, &cctx, cert, privkey))) in test_cookie()
301 SSL_CTX_set_options(sctx, SSL_OP_COOKIE_EXCHANGE); in test_cookie()
302 SSL_CTX_set_cookie_generate_cb(sctx, generate_cookie_cb); in test_cookie()
303 SSL_CTX_set_cookie_verify_cb(sctx, verify_cookie_cb); in test_cookie()
307 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_cookie()
313 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_cookie()
323 SSL_CTX_free(sctx); in test_cookie()
331 SSL_CTX *sctx = NULL, *cctx = NULL; in test_dtls_duplicate_records() local
338 &sctx, &cctx, cert, privkey))) in test_dtls_duplicate_records()
343 if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")) in test_dtls_duplicate_records()
349 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_dtls_duplicate_records()
366 SSL_CTX_free(sctx); in test_dtls_duplicate_records()
379 SSL_CTX *sctx = NULL; in test_just_finished() local
405 &sctx, NULL, cert, privkey))) in test_just_finished()
408 serverssl = SSL_new(sctx); in test_just_finished()
440 SSL_CTX_free(sctx); in test_just_finished()