summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 533cf192e..057803351 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: ssh-keygen.c,v 1.36 2000/12/19 23:17:58 markus Exp $"); 15RCSID("$OpenBSD: ssh-keygen.c,v 1.37 2000/12/22 16:49:40 markus Exp $");
16 16
17#include <openssl/evp.h> 17#include <openssl/evp.h>
18#include <openssl/pem.h> 18#include <openssl/pem.h>
@@ -101,8 +101,8 @@ ask_filename(struct passwd *pw, const char *prompt)
101 break; 101 break;
102 } 102 }
103 snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name); 103 snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name);
104 printf("%s (%s): ", prompt, identity_file); 104 fprintf(stderr, "%s (%s): ", prompt, identity_file);
105 fflush(stdout); 105 fflush(stderr);
106 if (fgets(buf, sizeof(buf), stdin) == NULL) 106 if (fgets(buf, sizeof(buf), stdin) == NULL)
107 exit(1); 107 exit(1);
108 if (strchr(buf, '\n')) 108 if (strchr(buf, '\n'))