Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/packet.c
Context not available. | |||||
#include "packet.h" | #include "packet.h" | ||||
#include "ssherr.h" | #include "ssherr.h" | ||||
#include "sshbuf.h" | #include "sshbuf.h" | ||||
#ifdef USE_BLACKLIST | |||||
#include "blacklist_client.h" | |||||
#endif | |||||
#ifdef PACKET_DEBUG | #ifdef PACKET_DEBUG | ||||
#define DBG(x) x | #define DBG(x) x | ||||
Context not available. | |||||
case SSH_ERR_NO_KEX_ALG_MATCH: | case SSH_ERR_NO_KEX_ALG_MATCH: | ||||
case SSH_ERR_NO_HOSTKEY_ALG_MATCH: | case SSH_ERR_NO_HOSTKEY_ALG_MATCH: | ||||
if (ssh && ssh->kex && ssh->kex->failed_choice) { | if (ssh && ssh->kex && ssh->kex->failed_choice) { | ||||
#ifdef USE_BLACKLIST | |||||
blacklist_notify(1); | |||||
#endif | |||||
fatal("Unable to negotiate with %.200s port %d: %s. " | fatal("Unable to negotiate with %.200s port %d: %s. " | ||||
"Their offer: %s", ssh_remote_ipaddr(ssh), | "Their offer: %s", ssh_remote_ipaddr(ssh), | ||||
ssh_remote_port(ssh), ssh_err(r), | ssh_remote_port(ssh), ssh_err(r), | ||||
Context not available. |