summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 51aa77487..ae0638825 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -325,7 +325,7 @@ user_key_allowed(struct passwd *pw, Key *key)
325 int success; 325 int success;
326 char *file; 326 char *file;
327 327
328 if (auth_key_is_revoked(key)) 328 if (auth_key_is_revoked(key, 0))
329 return 0; 329 return 0;
330 if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key)) 330 if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key))
331 return 0; 331 return 0;