diff options
author | des <des@FreeBSD.org> | 2010-03-08 11:19:52 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2010-03-08 11:19:52 +0000 |
commit | 6c400d267598df48c6d17b86996c429cfa5792d7 (patch) | |
tree | f3af5b582d9a7808774ea77df321abab26782ebf /auth2-hostbased.c | |
parent | 98b8242e22b0fc941b830dcec63d235b01bd46a2 (diff) | |
download | FreeBSD-src-6c400d267598df48c6d17b86996c429cfa5792d7.zip FreeBSD-src-6c400d267598df48c6d17b86996c429cfa5792d7.tar.gz |
Vendor import of OpenSSH 5.4p1
Diffstat (limited to 'auth2-hostbased.c')
-rw-r--r-- | auth2-hostbased.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/auth2-hostbased.c b/auth2-hostbased.c index 041051c..7216465 100644 --- a/auth2-hostbased.c +++ b/auth2-hostbased.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-hostbased.c,v 1.12 2008/07/17 08:51:07 djm Exp $ */ +/* $OpenBSD: auth2-hostbased.c,v 1.13 2010/03/04 10:36:03 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -145,6 +145,9 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, HostStatus host_status; int len; + if (auth_key_is_revoked(key)) + return 0; + resolvedname = get_canonical_hostname(options.use_dns); ipaddr = get_remote_ipaddr(); |