forked from I2P_Developers/i2p.i2p
Router: Better enc type rejection message
This commit is contained in:
@ -228,7 +228,7 @@ class ClientMessageEventListener implements I2CPMessageReader.I2CPMessageEventLi
|
|||||||
Destination dest = in.getDestination();
|
Destination dest = in.getDestination();
|
||||||
if (dest.getEncType() != EncType.ELGAMAL_2048) {
|
if (dest.getEncType() != EncType.ELGAMAL_2048) {
|
||||||
// Enc type in key cert, proposal 145, unsupported
|
// Enc type in key cert, proposal 145, unsupported
|
||||||
_runner.disconnectClient("Destinations with key certs unsupported");
|
_runner.disconnectClient("Non-ElGamal encryption type in key certificate unsupported");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (in.verifySignature()) {
|
if (in.verifySignature()) {
|
||||||
|
Reference in New Issue
Block a user