summaryrefslogtreecommitdiff
path: root/ssherr.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-07-02 13:15:34 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-07-02 13:15:34 +0000
commitc1e0861503468de5ae00ed0e532f349ec78bec68 (patch)
tree14de9b5b2b4cbd1116ed28f9b7189c866585b230 /ssherr.h
parentc0bbca73c6f7f15d5401332151fc9f9755abaf8f (diff)
downloadsrc-test2-c1e0861503468de5ae00ed0e532f349ec78bec68.tar.gz
src-test2-c1e0861503468de5ae00ed0e532f349ec78bec68.zip
Notes
Diffstat (limited to 'ssherr.h')
-rw-r--r--ssherr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssherr.h b/ssherr.h
index 106f786ea4c4..6f771b4b78be 100644
--- a/ssherr.h
+++ b/ssherr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssherr.h,v 1.1 2014/04/30 05:29:56 djm Exp $ */
+/* $OpenBSD: ssherr.h,v 1.3 2015/01/30 01:13:33 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -73,6 +73,10 @@
#define SSH_ERR_BUFFER_READ_ONLY -49
#define SSH_ERR_KRL_BAD_MAGIC -50
#define SSH_ERR_KEY_REVOKED -51
+#define SSH_ERR_CONN_CLOSED -52
+#define SSH_ERR_CONN_TIMEOUT -53
+#define SSH_ERR_CONN_CORRUPT -54
+#define SSH_ERR_PROTOCOL_ERROR -55
/* Translate a numeric error code to a human-readable error string */
const char *ssh_err(int n);