diff options
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 7d2141355..62a553612 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -439,9 +439,10 @@ user_key_allowed(struct passwd *pw, Key *key) | |||
439 | int success; | 439 | int success; |
440 | char *file; | 440 | char *file; |
441 | 441 | ||
442 | if (auth_key_is_revoked(key)) | 442 | if (auth_key_is_revoked(key, 0)) |
443 | return 0; | 443 | return 0; |
444 | if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key)) | 444 | if (key_is_cert(key) && |
445 | auth_key_is_revoked(key->cert->signature_key, 0)) | ||
445 | return 0; | 446 | return 0; |
446 | 447 | ||
447 | success = user_cert_trusted_ca(pw, key); | 448 | success = user_cert_trusted_ca(pw, key); |