Lines Matching refs:server_ctx
397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
411 server_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_server_method()); in test_handshake()
412 if (!TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
414 || !TEST_true(SSL_CTX_set_max_proto_version(server_ctx, 0))) in test_handshake()
454 server_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method()); in test_handshake()
455 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake()
456 || !TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
499 if (!TEST_ptr(server_ctx) in test_handshake()
504 if (!SSL_CTX_config(server_ctx, "server") in test_handshake()
518 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
526 SSL_CTX_free(server_ctx); in test_handshake()