diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-01-30 02:13:33 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-30 02:18:59 +0100 |
commit | 4509b5d4a4fa645a022635bfa7e86d09b285001f (patch) | |
tree | cb94ac37e4d5c59a3a5c2cde3b6c76363e7035d3 /ssherr.c | |
parent | upstream commit (diff) | |
download | openssh-4509b5d4a4fa645a022635bfa7e86d09b285001f.tar.xz openssh-4509b5d4a4fa645a022635bfa7e86d09b285001f.zip |
upstream commit
avoid more fatal/exit in the packet.c paths that
ssh-keyscan uses; feedback and "looks good" markus@
Diffstat (limited to 'ssherr.c')
-rw-r--r-- | ssherr.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: ssherr.c,v 1.2 2015/01/28 21:15:47 djm Exp $ */ +/* $OpenBSD: ssherr.c,v 1.3 2015/01/30 01:13:33 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -129,6 +129,10 @@ ssh_err(int n) return "Connection closed"; case SSH_ERR_CONN_TIMEOUT: return "Connection timed out"; + case SSH_ERR_CONN_CORRUPT: + return "Connection corrupted"; + case SSH_ERR_PROTOCOL_ERROR: + return "Protocol error"; default: return "unknown error"; } |