summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-26 22:16:40 +0000
committerColin Watson <cjwatson@debian.org>2008-05-26 22:16:40 +0000
commit93e9c23240b154d074dc33f26ccb23f8874f8c3a (patch)
tree2348f401a2148e4ea2e23e09c6ab1be5cf525003 /auth.h
parent85825a2f1ca42576b0f9cd2b170314c107b9af26 (diff)
Refactor rejection of blacklisted user keys into a single
reject_blacklisted_key function in auth.c (thanks, Dmitry V. Levin).
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index 6c22fabcc..e286b33b5 100644
--- a/auth.h
+++ b/auth.h
@@ -175,6 +175,8 @@ HostStatus
175check_key_in_hostfiles(struct passwd *, Key *, const char *, 175check_key_in_hostfiles(struct passwd *, Key *, const char *,
176 const char *, const char *); 176 const char *, const char *);
177 177
178int reject_blacklisted_key(Key *, int);
179
178/* hostkey handling */ 180/* hostkey handling */
179Key *get_hostkey_by_index(int); 181Key *get_hostkey_by_index(int);
180Key *get_hostkey_by_type(int); 182Key *get_hostkey_by_type(int);