diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-01-30 01:13:33 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-30 12:18:59 +1100 |
commit | 4509b5d4a4fa645a022635bfa7e86d09b285001f (patch) | |
tree | cb94ac37e4d5c59a3a5c2cde3b6c76363e7035d3 /ssherr.h | |
parent | 669aee994348468af8b4b2ebd29b602cf2860b22 (diff) |
upstream commit
avoid more fatal/exit in the packet.c paths that
ssh-keyscan uses; feedback and "looks good" 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.2 2015/01/28 21:15:47 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 | * |
@@ -75,6 +75,8 @@ | |||
75 | #define SSH_ERR_KEY_REVOKED -51 | 75 | #define SSH_ERR_KEY_REVOKED -51 |
76 | #define SSH_ERR_CONN_CLOSED -52 | 76 | #define SSH_ERR_CONN_CLOSED -52 |
77 | #define SSH_ERR_CONN_TIMEOUT -53 | 77 | #define SSH_ERR_CONN_TIMEOUT -53 |
78 | #define SSH_ERR_CONN_CORRUPT -54 | ||
79 | #define SSH_ERR_PROTOCOL_ERROR -55 | ||
78 | 80 | ||
79 | /* Translate a numeric error code to a human-readable error string */ | 81 | /* Translate a numeric error code to a human-readable error string */ |
80 | const char *ssh_err(int n); | 82 | const char *ssh_err(int n); |