summaryrefslogtreecommitdiff
path: root/auth2-hostbased.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2021-01-26 05:32:21 +0000
committerDarren Tucker <dtucker@dtucker.net>2021-01-26 22:50:40 +1100
commite9f78d6b06fc323bba1890b2dc3b8423138fb35c (patch)
tree095318e0ad5c19277a07809cf0cf1d2c1c5facf1 /auth2-hostbased.c
parent48d0d7a4dd31154c4208ec39029d60646192f978 (diff)
downloadopenssh-git-e9f78d6b06fc323bba1890b2dc3b8423138fb35c.tar.gz
upstream: Rename HostbasedKeyTypes (ssh) and
HostbasedAcceptedKeyTypes (sshd) to HostbasedAcceptedAlgorithms, which more accurately reflects its effect. This matches a previous change to PubkeyAcceptedAlgorithms. The previous names are retained as aliases. ok djm@ OpenBSD-Commit-ID: 49451c382adc6e69d3fa0e0663eeef2daa4b199e
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r--auth2-hostbased.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c
index ae43dd8a..3bc799c4 100644
--- a/auth2-hostbased.c
+++ b/auth2-hostbased.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-hostbased.c,v 1.44 2021/01/26 00:49:30 djm Exp $ */
+/* $OpenBSD: auth2-hostbased.c,v 1.45 2021/01/26 05:32:21 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -108,8 +108,8 @@ userauth_hostbased(struct ssh *ssh)
"signature format");
goto done;
}
- if (match_pattern_list(pkalg, options.hostbased_key_types, 0) != 1) {
- logit_f("key type %s not in HostbasedAcceptedKeyTypes",
+ if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) {
+ logit_f("key type %s not in HostbasedAcceptedAlgorithms",
sshkey_type(key));
goto done;
}