summaryrefslogtreecommitdiff
path: root/ssherr.h
diff options
context:
space:
mode:
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 106f786ea..6f771b4b7 100644
--- a/ssherr.h
+++ b/ssherr.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssherr.h,v 1.1 2014/04/30 05:29:56 djm Exp $ */ 1/* $OpenBSD: ssherr.h,v 1.3 2015/01/30 01:13:33 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -73,6 +73,10 @@
73#define SSH_ERR_BUFFER_READ_ONLY -49 73#define SSH_ERR_BUFFER_READ_ONLY -49
74#define SSH_ERR_KRL_BAD_MAGIC -50 74#define SSH_ERR_KRL_BAD_MAGIC -50
75#define SSH_ERR_KEY_REVOKED -51 75#define SSH_ERR_KEY_REVOKED -51
76#define SSH_ERR_CONN_CLOSED -52
77#define SSH_ERR_CONN_TIMEOUT -53
78#define SSH_ERR_CONN_CORRUPT -54
79#define SSH_ERR_PROTOCOL_ERROR -55
76 80
77/* Translate a numeric error code to a human-readable error string */ 81/* Translate a numeric error code to a human-readable error string */
78const char *ssh_err(int n); 82const char *ssh_err(int n);