=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect.c,v retrieving revision 1.72.2.2 retrieving revision 1.72.2.3 diff -u -r1.72.2.2 -r1.72.2.3 --- src/usr.bin/ssh/sshconnect.c 2000/09/01 18:23:24 1.72.2.2 +++ src/usr.bin/ssh/sshconnect.c 2000/11/08 21:31:27 1.72.2.3 @@ -2,13 +2,18 @@ * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved - * Created: Sat Mar 18 22:15:47 1995 ylo * Code to connect to a remote host, and to perform the client side of the * login (authentication) dialog. + * + * 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("$OpenBSD: sshconnect.c,v 1.72.2.2 2000/09/01 18:23:24 jason Exp $"); +RCSID("$OpenBSD: sshconnect.c,v 1.72.2.3 2000/11/08 21:31:27 jason Exp $"); #include #include @@ -431,8 +436,10 @@ retval = defval; if (strcmp(buf, "yes") == 0) retval = 1; - if (strcmp(buf, "no") == 0) + else if (strcmp(buf, "no") == 0) retval = 0; + else + fprintf(stderr, "Please type 'yes' or 'no'.\n"); if (retval != -1) { if (f != stdin)