diff options
author | 2015-01-28 21:15:47 +0000 | |
---|---|---|
committer | 2015-01-28 21:15:47 +0000 | |
commit | 42dab86da22abd45f95f38eb79574fe392815094 (patch) | |
tree | 69b7033ce69bed3dc57c7105fe193c4a6a355911 /usr.bin/ssh/ssherr.h | |
parent | Clean up eqn(7) error handling: (diff) | |
download | wireguard-openbsd-42dab86da22abd45f95f38eb79574fe392815094.tar.xz wireguard-openbsd-42dab86da22abd45f95f38eb79574fe392815094.zip |
avoid fatal() calls in packet code
makes ssh-keyscan more reliable against server failures
ok dtucker@ markus@
Diffstat (limited to '')
-rw-r--r-- | usr.bin/ssh/ssherr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssherr.h b/usr.bin/ssh/ssherr.h index 106f786ea4c..ac5cd159a59 100644 --- a/usr.bin/ssh/ssherr.h +++ b/usr.bin/ssh/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.2 2015/01/28 21:15:47 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -73,6 +73,8 @@ #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 /* Translate a numeric error code to a human-readable error string */ const char *ssh_err(int n); |