=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-rh-rsa.c,v retrieving revision 1.13 retrieving revision 1.13.2.2 diff -u -r1.13 -r1.13.2.2 --- src/usr.bin/ssh/Attic/auth-rh-rsa.c 2000/04/14 10:30:29 1.13 +++ src/usr.bin/ssh/Attic/auth-rh-rsa.c 2000/11/08 21:30:20 1.13.2.2 @@ -1,21 +1,19 @@ /* - * - * auth-rh-rsa.c - * * Author: Tatu Ylonen - * * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved - * - * Created: Sun May 7 03:08:06 1995 ylo - * * Rhosts or /etc/hosts.equiv authentication combined with RSA host * authentication. * + * As far as I am concerned, the code I have written for this software + * can be used freely for any purpose. Any derived versions of this + * software must be clearly marked as such, and if the derived work is + * incompatible with the protocol description in the RFC file, it must be + * called by a name other than "ssh" or "Secure Shell". */ #include "includes.h" -RCSID("$Id: auth-rh-rsa.c,v 1.13 2000/04/14 10:30:29 markus Exp $"); +RCSID("$OpenBSD: auth-rh-rsa.c,v 1.13.2.2 2000/11/08 21:30:20 jason Exp $"); #include "packet.h" #include "ssh.h" @@ -41,9 +39,9 @@ HostStatus host_status; Key *client_key, *found; - debug("Trying rhosts with RSA host authentication for %.100s", client_user); + debug("Trying rhosts with RSA host authentication for client user %.100s", client_user); - if (client_host_key == NULL) + if (pw == NULL || client_host_key == NULL) return 0; /* Check if we would accept it using rhosts authentication. */