=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth2-hostbased.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/ssh/auth2-hostbased.c 2008/07/17 08:51:07 1.12 +++ src/usr.bin/ssh/auth2-hostbased.c 2010/03/04 10:36:03 1.13 @@ -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. * @@ -143,6 +143,9 @@ const char *resolvedname, *ipaddr, *lookup; HostStatus host_status; int len; + + if (auth_key_is_revoked(key)) + return 0; resolvedname = get_canonical_hostname(options.use_dns); ipaddr = get_remote_ipaddr();