=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-rh-rsa.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- src/usr.bin/ssh/Attic/auth-rh-rsa.c 2006/08/03 03:34:41 1.42 +++ src/usr.bin/ssh/Attic/auth-rh-rsa.c 2010/03/04 10:36:03 1.43 @@ -1,4 +1,4 @@ -/* $OpenBSD: auth-rh-rsa.c,v 1.42 2006/08/03 03:34:41 deraadt Exp $ */ +/* $OpenBSD: auth-rh-rsa.c,v 1.43 2010/03/04 10:36:03 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -41,6 +41,9 @@ Key *client_host_key) { HostStatus host_status; + + if (auth_key_is_revoked(client_host_key)) + return 0; /* Check if we would accept it using rhosts authentication. */ if (!auth_rhosts(pw, cuser))