Commit b1410405 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client_keyexchange.c (do_handle_dh_reply): If the server's

signature doesn't verify, display a warning message before
disconnecting.

Rev: src/client_keyexchange.c:1.56
parent f35afe3f
......@@ -110,6 +110,7 @@ do_handle_dh_reply(struct packet_handler *c,
if (!res)
{
werror("Invalid server signature. Disconnecting.\n");
/* FIXME: Use a more appropriate error code? */
disconnect_kex_failed(connection, "Invalid server signature\r\n");
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment