diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-01-28 21:15:47 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-29 09:08:07 +1100 |
commit | fae7bbe544cba7a9e5e4ab47ff6faa3d978646eb (patch) | |
tree | a27a07031b600a1925a128bc0f5258a4b3ab2e8c /ssherr.h | |
parent | 1a3d14f6b44a494037c7deab485abe6496bf2c60 (diff) |
upstream commit
avoid fatal() calls in packet code makes ssh-keyscan more
reliable against server failures ok dtucker@ markus@
Diffstat (limited to 'ssherr.h')
-rw-r--r-- | ssherr.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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.2 2015/01/28 21:15:47 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller | 3 | * Copyright (c) 2011 Damien Miller |
4 | * | 4 | * |
@@ -73,6 +73,8 @@ | |||
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 | ||
76 | 78 | ||
77 | /* Translate a numeric error code to a human-readable error string */ | 79 | /* Translate a numeric error code to a human-readable error string */ |
78 | const char *ssh_err(int n); | 80 | const char *ssh_err(int n); |