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 545aa496a..9b139c928 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -174,6 +174,8 @@ rsa_key_allowed_in_file(struct passwd *pw, char *file,
174 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL) 174 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL)
175 return 0; 175 return 0;
176 176
177 auth_start_parse_options();
178
177 /* 179 /*
178 * Go though the accepted keys, looking for the current key. If 180 * Go though the accepted keys, looking for the current key. If
179 * found, perform a challenge-response dialog to verify that the 181 * found, perform a challenge-response dialog to verify that the
@@ -237,7 +239,7 @@ rsa_key_allowed_in_file(struct passwd *pw, char *file,
237 free(fp); 239 free(fp);
238 240
239 /* Never accept a revoked key */ 241 /* Never accept a revoked key */
240 if (auth_key_is_revoked(key)) 242 if (auth_key_is_revoked(key, 0))
241 break; 243 break;
242 244
243 /* We have found the desired key. */ 245 /* We have found the desired key. */