summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-07-28 14:32:20 +0100
committerColin Watson <cjwatson@debian.org>2011-07-28 14:32:20 +0100
commit7a15b74572af22c2642ce0b125a90f35a92a10b4 (patch)
tree5a93c65cbc21e3657703863169a17390da156e6b /auth-rsa.c
parentb231e29fdc2c76309619e2fbc45e5779df4fe147 (diff)
Quieten logs when multiple from= restrictions are used in different
authorized_keys lines for the same key; it's still not ideal, but at least you'll only get one log entry per key (closes: #630606).
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index 323e875b8..ec32c803f 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -193,6 +193,8 @@ auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
193 193
194 key = key_new(KEY_RSA1); 194 key = key_new(KEY_RSA1);
195 195
196 auth_start_parse_options();
197
196 /* 198 /*
197 * Go though the accepted keys, looking for the current key. If 199 * Go though the accepted keys, looking for the current key. If
198 * found, perform a challenge-response dialog to verify that the 200 * found, perform a challenge-response dialog to verify that the