summaryrefslogtreecommitdiff
path: root/ssherr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssherr.c')
-rw-r--r--ssherr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssherr.c b/ssherr.c
index 680207063..3c0009d69 100644
--- a/ssherr.c
+++ b/ssherr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssherr.c,v 1.5 2015/09/13 14:39:16 tim Exp $ */ 1/* $OpenBSD: ssherr.c,v 1.7 2017/09/12 06:32:08 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -135,6 +135,10 @@ ssh_err(int n)
135 return "Connection corrupted"; 135 return "Connection corrupted";
136 case SSH_ERR_PROTOCOL_ERROR: 136 case SSH_ERR_PROTOCOL_ERROR:
137 return "Protocol error"; 137 return "Protocol error";
138 case SSH_ERR_KEY_LENGTH:
139 return "Invalid key length";
140 case SSH_ERR_NUMBER_TOO_LARGE:
141 return "number is too large";
138 default: 142 default:
139 return "unknown error"; 143 return "unknown error";
140 } 144 }