mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
don't send short tunnel build messages for ElGamal only destinations
This commit is contained in:
parent
e6bcd04a36
commit
49e8cf89d8
@ -610,6 +610,9 @@ namespace tunnel
|
||||
Path path;
|
||||
if (SelectPeers (path, false))
|
||||
{
|
||||
if (m_LocalDestination && !m_LocalDestination->SupportsEncryptionType (i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD))
|
||||
path.isShort = false; // because can't handle ECIES encrypted reply
|
||||
|
||||
std::shared_ptr<TunnelConfig> config;
|
||||
if (m_NumOutboundHops > 0)
|
||||
config = std::make_shared<TunnelConfig>(path.peers, inboundTunnel->GetNextTunnelID (),
|
||||
|
Loading…
x
Reference in New Issue
Block a user