mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if session key is available
This commit is contained in:
parent
2140f49665
commit
747383a5e6
2 changed files with 5 additions and 4 deletions
1
SSU.h
1
SSU.h
|
@ -118,6 +118,7 @@ namespace ssu
|
|||
void Decrypt (uint8_t * buf, size_t len, const uint8_t * aesKey);
|
||||
bool Validate (uint8_t * buf, size_t len, const uint8_t * macKey);
|
||||
const uint8_t * GetIntroKey () const;
|
||||
bool HasSessionKey () const { return m_State == eSessionStateCreatedReceived || m_State == eSessionStateRequestReceived; };
|
||||
|
||||
void ScheduleTermination ();
|
||||
void HandleTerminationTimer (const boost::system::error_code& ecode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue