summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 2b3ecb104..12eb8a6b2 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -647,9 +647,10 @@ user_key_allowed(struct passwd *pw, Key *key)
647 u_int success, i; 647 u_int success, i;
648 char *file; 648 char *file;
649 649
650 if (auth_key_is_revoked(key)) 650 if (auth_key_is_revoked(key, 0))
651 return 0; 651 return 0;
652 if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key)) 652 if (key_is_cert(key) &&
653 auth_key_is_revoked(key->cert->signature_key, 0))
653 return 0; 654 return 0;
654 655
655 success = user_cert_trusted_ca(pw, key); 656 success = user_cert_trusted_ca(pw, key);