mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use SendFinished
This commit is contained in:
parent
4e81083bb4
commit
e7d4f63884
2 changed files with 33 additions and 26 deletions
2
Reseed.h
2
Reseed.h
|
@ -76,12 +76,14 @@ namespace data
|
|||
|
||||
void Handshake ();
|
||||
void SendHandshakeMsg (uint8_t handshakeType, uint8_t * data, size_t len);
|
||||
void SendFinishedMsg ();
|
||||
CryptoPP::RSA::PublicKey ExtractPublicKey (const uint8_t * certificate, size_t len);
|
||||
|
||||
private:
|
||||
|
||||
boost::asio::ip::tcp::iostream m_Site;
|
||||
CryptoPP::SHA256 m_FinishedHash;
|
||||
uint8_t m_MasterSecret[64]; // actual size is 48, but must be multiple of 32
|
||||
TlsCipher * m_Cipher;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue