summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-12-22 20:27:43 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-12-22 20:27:43 +0000
commit3deda8b091e571f5577ae50b75b89a21caed6aee (patch)
tree663f4a4503e688f204a4963a20e83d1aa8918a2b /ssh-keygen.c
parent46c162204b5a6f7471525c2f75cb2c607c88b83f (diff)
20001223
- (bal) Fixed Makefile.in to support recompile of all ssh and sshd objects if a change to config.h has occurred. Suggested by Gert Doering <gert@greenie.muc.de> - (bal) OpenBSD CVS Update: - markus@cvs.openbsd.org 2000/12/22 16:49:40 [ssh-keygen.c] fix ssh-keygen -x -t type > file; from Roumen.Petrov@skalasoft.com
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'))