summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index 4ab46cd51..99c4e882d 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -175,6 +175,8 @@ rsa_key_allowed_in_file(struct passwd *pw, char *file,
175 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL) 175 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL)
176 return 0; 176 return 0;
177 177
178 auth_start_parse_options();
179
178 /* 180 /*
179 * Go though the accepted keys, looking for the current key. If 181 * Go though the accepted keys, looking for the current key. If
180 * found, perform a challenge-response dialog to verify that the 182 * found, perform a challenge-response dialog to verify that the
@@ -233,7 +235,7 @@ rsa_key_allowed_in_file(struct passwd *pw, char *file,
233 file, linenum, BN_num_bits(key->rsa->n), bits); 235 file, linenum, BN_num_bits(key->rsa->n), bits);
234 236
235 /* Never accept a revoked key */ 237 /* Never accept a revoked key */
236 if (auth_key_is_revoked(key)) 238 if (auth_key_is_revoked(key, 0))
237 break; 239 break;
238 240
239 /* We have found the desired key. */ 241 /* We have found the desired key. */