diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-26 22:16:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-26 22:16:40 +0000 |
commit | 93e9c23240b154d074dc33f26ccb23f8874f8c3a (patch) | |
tree | 2348f401a2148e4ea2e23e09c6ab1be5cf525003 /auth.h | |
parent | 85825a2f1ca42576b0f9cd2b170314c107b9af26 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -175,6 +175,8 @@ HostStatus | |||
175 | check_key_in_hostfiles(struct passwd *, Key *, const char *, | 175 | check_key_in_hostfiles(struct passwd *, Key *, const char *, |
176 | const char *, const char *); | 176 | const char *, const char *); |
177 | 177 | ||
178 | int reject_blacklisted_key(Key *, int); | ||
179 | |||
178 | /* hostkey handling */ | 180 | /* hostkey handling */ |
179 | Key *get_hostkey_by_index(int); | 181 | Key *get_hostkey_by_index(int); |
180 | Key *get_hostkey_by_type(int); | 182 | Key *get_hostkey_by_type(int); |