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, 2 insertions, 3 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 7c0ceee55..4d87f4867 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -650,10 +650,9 @@ user_key_allowed(struct passwd *pw, Key *key)
650 u_int success, i; 650 u_int success, i;
651 char *file; 651 char *file;
652 652
653 if (auth_key_is_revoked(key, 0)) 653 if (auth_key_is_revoked(key))
654 return 0; 654 return 0;
655 if (key_is_cert(key) && 655 if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key))
656 auth_key_is_revoked(key->cert->signature_key, 0))
657 return 0; 656 return 0;
658 657
659 success = user_cert_trusted_ca(pw, key); 658 success = user_cert_trusted_ca(pw, key);