Browse Source

pick ECIES routers only for non-x64

pull/1677/head
orignal 4 years ago
parent
commit
81c83f0d54
  1. 4
      libi2pd/NetDb.cpp

4
libi2pd/NetDb.cpp

@ -1187,7 +1187,11 @@ namespace data @@ -1187,7 +1187,11 @@ namespace data
(reverse ? compatibleWith->IsReachableFrom (*router) :
router->IsReachableFrom (*compatibleWith)) &&
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
#if defined(__x86_64__)
router->GetVersion () >= NETDB_MIN_HIGHBANDWIDTH_VERSION;
#else
router->GetIdentity ()->GetCryptoKeyType () == i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD;
#endif
});
}

Loading…
Cancel
Save