summaryrefslogtreecommitdiff
path: root/ssherr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssherr.c')
-rw-r--r--ssherr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssherr.c b/ssherr.c
index 680207063..4bd5f59cc 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.6 2017/05/07 23:15:59 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -135,6 +135,8 @@ 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";
138 default: 140 default:
139 return "unknown error"; 141 return "unknown error";
140 } 142 }