diff options
author | jp161948 <none@none> | 2006-09-19 04:24:41 -0700 |
---|---|---|
committer | jp161948 <none@none> | 2006-09-19 04:24:41 -0700 |
commit | 26ba198477055398633f319757f934b7ce73784e (patch) | |
tree | af1fc5a615d40fd013ee35e3b321d1933d5483d4 /usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c | |
parent | 27fbcf8a5036d0cea1c401094c8bb0731ddc87ec (diff) | |
download | illumos-joyent-26ba198477055398633f319757f934b7ce73784e.tar.gz |
6448031 ssh-keygen does not overwrite old key information when told yes
6451031 broken key in authorized_keys causes sshd to exit
6455367 ssh-agent can accept connections from other users depending on permissions of socket directory
6457202 server side of scp creates a directory even when not in recursive mode
6457241 server side of scp allows dir creation outside of the target subdirectory
6457952 scp performs local copying even when expected target directory is not a directory
6457959 scp doesn't print stderr messages in certain situations
6466048 scp should not call write() for the last chunk of data twice
6468175 sshd may set MAIL variable with two slashes in a row
Diffstat (limited to 'usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c')
-rw-r--r-- | usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c b/usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c index 50284e08b7..57eb19d321 100644 --- a/usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c +++ b/usr/src/cmd/ssh/ssh-keygen/ssh-keygen.c @@ -1,5 +1,5 @@ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* @@ -33,6 +33,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.101 2002/06/23 09:39:55 deraadt Exp $"); #include "pathnames.h" #include "log.h" #include "readpass.h" +#include "misc.h" #include <langinfo.h> #ifdef SMARTCARD @@ -946,7 +947,7 @@ main(int ac, char **av) (void) fflush(stdout); if (fgets(yesno, sizeof(yesno), stdin) == NULL) exit(1); - if (strcasecmp(yesno, nl_langinfo(YESSTR)) != 0) + if (strcasecmp(chop(yesno), nl_langinfo(YESSTR)) != 0) exit(1); } /* Ask for a passphrase (twice). */ |