Router: Better enc type rejection message

This commit is contained in:
zzz
2020-04-23 19:31:17 +00:00
parent 5e2db982dd
commit f2f6dfbf18

View File

@ -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()) {