temporary exclude routers with non ElGamal crypto types

This commit is contained in:
orignal 2020-10-21 19:03:51 -04:00
parent 49bf735c22
commit 801ecaa41c

View File

@ -153,6 +153,12 @@ namespace data
m_IsUnreachable = true;
return;
}
if (m_RouterIdentity->GetCryptoKeyType () != CRYPTO_KEY_TYPE_ELGAMAL)
{
// we support ElGamal only. TODO: remove later
m_IsUnreachable = true;
return;
}
if (verifySignature)
{
// reject RSA signatures