mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
encrypted LeaseSet never comes through a session
This commit is contained in:
parent
9d44a32e4c
commit
929ff6e358
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ namespace client
|
|||
{
|
||||
auto ls2 = std::make_shared<i2p::data::LeaseSet2> (buf + offset, len - offset,
|
||||
request->requestedBlindedKey, m_LeaseSetPrivKey ? ((const uint8_t *)*m_LeaseSetPrivKey) : nullptr,
|
||||
from ? from->GetRemoteStaticKeyType () : GetPreferredCryptoType ());
|
||||
GetPreferredCryptoType ());
|
||||
if (ls2->IsValid () && !ls2->IsExpired ())
|
||||
{
|
||||
leaseSet = ls2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue