From 56ea360619c4bbe1b604add62d3cbf472392617f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 31 Mar 2010 10:49:51 +0100 Subject: ssh-vulnkey.patch: update another call to auth_key_is_revoked --- auth2-pubkey.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auth2-pubkey.c') diff --git a/auth2-pubkey.c b/auth2-pubkey.c index ae0638825..b6ed62857 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c @@ -327,7 +327,8 @@ user_key_allowed(struct passwd *pw, Key *key) if (auth_key_is_revoked(key, 0)) return 0; - if (key_is_cert(key) && auth_key_is_revoked(key->cert->signature_key)) + if (key_is_cert(key) && + auth_key_is_revoked(key->cert->signature_key, 0)) return 0; success = user_cert_trusted_ca(pw, key); -- cgit v1.2.3