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 8ad3d5750190..bd954aadd729 100644
--- a/ssherr.c
+++ b/ssherr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssherr.c,v 1.8 2018/07/03 11:39:54 djm Exp $ */
+/* $OpenBSD: ssherr.c,v 1.10 2020/01/25 23:13:09 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -141,6 +141,10 @@ ssh_err(int n)
return "number is too large";
case SSH_ERR_SIGN_ALG_UNSUPPORTED:
return "signature algorithm not supported";
+ case SSH_ERR_FEATURE_UNSUPPORTED:
+ return "requested feature not supported";
+ case SSH_ERR_DEVICE_NOT_FOUND:
+ return "device not found";
default:
return "unknown error";
}