mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
temporary exclude routers with non ElGamal crypto types
This commit is contained in:
parent
49bf735c22
commit
801ecaa41c
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue