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 dbd0443fc..b38ebfb91 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -7,7 +7,7 @@
7 */ 7 */
8 8
9#include "includes.h" 9#include "includes.h"
10RCSID("$OpenBSD: ssh-keygen.c,v 1.27 2000/06/20 01:39:44 markus Exp $"); 10RCSID("$OpenBSD: ssh-keygen.c,v 1.28 2000/07/07 03:55:04 todd Exp $");
11 11
12#include <openssl/evp.h> 12#include <openssl/evp.h>
13#include <openssl/pem.h> 13#include <openssl/pem.h>
@@ -127,13 +127,13 @@ do_convert_to_ssh2(struct passwd *pw)
127 exit(1); 127 exit(1);
128 } 128 }
129 dsa_make_key_blob(k, &blob, &len); 129 dsa_make_key_blob(k, &blob, &len);
130 fprintf(stdout, SSH_COM_MAGIC_BEGIN "\n"); 130 fprintf(stdout, "%s\n", SSH_COM_MAGIC_BEGIN);
131 fprintf(stdout, 131 fprintf(stdout,
132 "Comment: \"%d-bit DSA, converted from openssh by %s@%s\"\n", 132 "Comment: \"%d-bit DSA, converted from openssh by %s@%s\"\n",
133 BN_num_bits(k->dsa->p), 133 BN_num_bits(k->dsa->p),
134 pw->pw_name, hostname); 134 pw->pw_name, hostname);
135 dump_base64(stdout, blob, len); 135 dump_base64(stdout, blob, len);
136 fprintf(stdout, SSH_COM_MAGIC_END "\n"); 136 fprintf(stdout, "%s\n", SSH_COM_MAGIC_END);
137 key_free(k); 137 key_free(k);
138 xfree(blob); 138 xfree(blob);
139 exit(0); 139 exit(0);