Client sending encoded handshake, server decoding the insecure bits

This commit is contained in:
Ian Gulliver
2015-02-07 19:01:48 +01:00
parent 409c912eeb
commit f1540c897e
5 changed files with 127 additions and 19 deletions

View File

@@ -67,6 +67,6 @@ int main(int argc, char *argv[]) {
server_public_key_file >> server_public_key;
}
auto client = CryptoPubClient::FromHostname(server_address, server_port);
auto client = CryptoPubClient::FromHostname(server_address, server_port, secret_key, server_public_key);
client->Loop();
}