diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2016-01-19 18:28:23 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2016-01-19 18:28:23 +0000 |
commit | bc5531debefeb54993d01d4f3c8b33ccbe0b4d95 (patch) | |
tree | 9d2b367395b2d3c9a63b4aecd1eb28b17b838703 /crypto/openssh/ssherr.c | |
parent | 0c9eb4d63a6d7280dc19ebfd6a6c34530e26c8aa (diff) | |
parent | c1e0861503468de5ae00ed0e532f349ec78bec68 (diff) | |
download | src-test2-bc5531debefeb54993d01d4f3c8b33ccbe0b4d95.tar.gz src-test2-bc5531debefeb54993d01d4f3c8b33ccbe0b4d95.zip |
Notes
Diffstat (limited to 'crypto/openssh/ssherr.c')
-rw-r--r-- | crypto/openssh/ssherr.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/crypto/openssh/ssherr.c b/crypto/openssh/ssherr.c index 49fbb71de755..4ca7939926c9 100644 --- a/crypto/openssh/ssherr.c +++ b/crypto/openssh/ssherr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssherr.c,v 1.1 2014/04/30 05:29:56 djm Exp $ */ +/* $OpenBSD: ssherr.c,v 1.4 2015/02/16 22:13:32 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -121,10 +121,20 @@ ssh_err(int n) return "agent not present"; case SSH_ERR_AGENT_NO_IDENTITIES: return "agent contains no identities"; + case SSH_ERR_BUFFER_READ_ONLY: + return "internal error: buffer is read-only"; case SSH_ERR_KRL_BAD_MAGIC: return "KRL file has invalid magic number"; case SSH_ERR_KEY_REVOKED: return "Key is revoked"; + case SSH_ERR_CONN_CLOSED: + 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"; } |