diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-22 16:49:41 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-22 16:49:41 +0000 |
commit | 3da0040fbee68a6b539aafa7d488f3e65a423672 (patch) | |
tree | 09a3dd04b2962f3d9a4730691b1158c9f8bdca81 | |
parent | 581e4f8566cba6cd1f05173d1fc6e2dcddf9156f (diff) |
fix ssh-keygen -x -t type > file; from Roumen.Petrov@skalasoft.com
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index f3d512cb92a..ec70c5620e3 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.36 2000/12/19 23:17:58 markus Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.37 2000/12/22 16:49:40 markus Exp $"); #include <openssl/evp.h> #include <openssl/pem.h> @@ -97,8 +97,8 @@ ask_filename(struct passwd *pw, const char *prompt) break; } snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name); - printf("%s (%s): ", prompt, identity_file); - fflush(stdout); + fprintf(stderr, "%s (%s): ", prompt, identity_file); + fflush(stderr); if (fgets(buf, sizeof(buf), stdin) == NULL) exit(1); if (strchr(buf, '\n')) |