summaryrefslogtreecommitdiff
path: root/auth2-hostbased.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r--auth2-hostbased.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c
index 041051c53..bc933d434 100644
--- a/auth2-hostbased.c
+++ b/auth2-hostbased.c
@@ -145,6 +145,9 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
145 HostStatus host_status; 145 HostStatus host_status;
146 int len; 146 int len;
147 147
148 if (reject_blacklisted_key(key, 0) == 1)
149 return 0;
150
148 resolvedname = get_canonical_hostname(options.use_dns); 151 resolvedname = get_canonical_hostname(options.use_dns);
149 ipaddr = get_remote_ipaddr(); 152 ipaddr = get_remote_ipaddr();
150 153