mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
temporary exclude routers with non ElGamal crypto types
This commit is contained in:
@@ -153,6 +153,12 @@ namespace data
|
|||||||
m_IsUnreachable = true;
|
m_IsUnreachable = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (m_RouterIdentity->GetCryptoKeyType () != CRYPTO_KEY_TYPE_ELGAMAL)
|
||||||
|
{
|
||||||
|
// we support ElGamal only. TODO: remove later
|
||||||
|
m_IsUnreachable = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (verifySignature)
|
if (verifySignature)
|
||||||
{
|
{
|
||||||
// reject RSA signatures
|
// reject RSA signatures
|
||||||
|
|||||||
Reference in New Issue
Block a user