Searched refs:server_ctx (Results 1 – 2 of 2) sorted by relevance
408 SSL_CTX *client_ctx = NULL, *server_ctx = NULL; in test_get_shared_ciphers() local415 if ((server_ctx = peer_config_to_ssl_ctx(&test->server_config)) == NULL) in test_get_shared_ciphers()423 if ((server_ssl = SSL_new(server_ctx)) == NULL) { in test_get_shared_ciphers()448 SSL_CTX_free(server_ctx); in test_get_shared_ciphers()
237 struct tls *server_ctx; variable610 if ((server_ctx = tls_server()) == NULL) { in main()662 if (server_config && server_ctx) { in main()711 if (tls_configure(server_ctx, server_config) != 0) { in main()713 tls_error(server_ctx)); in main()714 tls_free(server_ctx); in main()715 server_ctx = NULL; in main()1184 if (tls_accept_socket(server_ctx, &p->p_ctx, fd) == -1) { in acceptcb()1186 peername, tls_error(server_ctx)); in acceptcb()