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 c4cadf4e7..49bb062af 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -328,9 +328,10 @@ user_key_allowed(struct passwd *pw, Key *key) | |||
328 | int success; | 328 | int success; |
329 | char *file; | 329 | char *file; |
330 | 330 | ||
331 | if (auth_key_is_revoked(key)) | 331 | if (auth_key_is_revoked(key, 0)) |
332 | return 0; | 332 | return 0; |
333 | if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key)) | 333 | if (key_is_cert(key) && |
334 | auth_key_is_revoked(key->cert->signature_key, 0)) | ||
334 | return 0; | 335 | return 0; |
335 | 336 | ||
336 | success = user_cert_trusted_ca(pw, key); | 337 | success = user_cert_trusted_ca(pw, key); |