Cache derived public key.

This commit is contained in:
Ian Gulliver
2015-02-08 19:54:45 +00:00
parent 6a4a92f47a
commit f35f9d8885
2 changed files with 6 additions and 4 deletions

View File

@@ -89,7 +89,9 @@ class CryptoPubConnBase : public CryptoBase {
struct bufferevent* bev_;
const SecretKey& secret_key_;
PublicKey public_key_;
PublicKey peer_public_key_;
SecretKey ephemeral_secret_key_;
PublicKey peer_ephemeral_public_key_;
};