summaryrefslogtreecommitdiffstats
path: root/openssh/bin/ssh-keycheck
diff options
context:
space:
mode:
Diffstat (limited to 'openssh/bin/ssh-keycheck')
-rwxr-xr-xopenssh/bin/ssh-keycheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssh/bin/ssh-keycheck b/openssh/bin/ssh-keycheck
index 737b8cd..67046f1 100755
--- a/openssh/bin/ssh-keycheck
+++ b/openssh/bin/ssh-keycheck
@@ -2,7 +2,7 @@
# Open Infrastructure: service-tools
-# Copyright (C) 2014-2021 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -136,7 +136,7 @@ do
;;
*)
- echo "'${FILE}': wrong type" >&2
+ echo "'${FILE}': wrong type ('${KEY_TYPE}' instead of '${TYPES}')" >&2
EXIT="1"
;;
esac
@@ -149,7 +149,7 @@ do
;;
*)
- echo "'${FILE}': wrong bits" >&2
+ echo "'${FILE}': wrong bits ('${KEY_BITS}' instead of '${BITS}')" >&2
EXIT="1"
;;
esac