From 46f22621759d388f7cef4bf0d2ac03667a5d611e Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 7 Nov 2016 12:53:59 +0100 Subject: prepares the api for sending and mixing messages in the realtime phase. --- client/cmixclient.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'client/cmixclient.hpp') diff --git a/client/cmixclient.hpp b/client/cmixclient.hpp index ee99d38..59aeba6 100644 --- a/client/cmixclient.hpp +++ b/client/cmixclient.hpp @@ -1,6 +1,7 @@ #pragma once #include "senderreceiver.hpp" +#include "cmix.h" #include "api.h" #include "groupelement.h" #include "keypair.h" @@ -44,19 +45,17 @@ class CMixClient { struct NodeData { GroupElement secret_value; - SharedKey shared_value; + GroupElement shared_value; }; boost::asio::io_service io_service; - std::shared_ptr ctx; + std::shared_ptr ssl_ctx; + CMixContext cmix_ctx; NetworkDetails network_details; std::vector network_connections; std::vector data; - Api api; - KeyPair keypair; - void key_exchange(size_t node_id); void initialize_connections(); -- cgit v1.2.3-70-g09d2