[ssh-keygen.c]
     append \n only for public keys
This commit is contained in:
Damien Miller 2002-01-22 23:20:15 +11:00
parent 70972eb388
commit a1db12bac4
2 changed files with 7 additions and 3 deletions

View File

@ -100,6 +100,9 @@
- stevesk@cvs.openbsd.org 2002/01/05 21:51:56
[ssh.1 sshd.8]
some missing and misplaced periods
- markus@cvs.openbsd.org 2002/01/09 13:49:27
[ssh-keygen.c]
append \n only for public keys
20020121
@ -7248,4 +7251,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1751 2002/01/22 12:19:55 djm Exp $
$Id: ChangeLog,v 1.1752 2002/01/22 12:20:15 djm Exp $

View File

@ -12,7 +12,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-keygen.c,v 1.89 2001/12/29 21:56:01 stevesk Exp $");
RCSID("$OpenBSD: ssh-keygen.c,v 1.90 2002/01/09 13:49:27 markus Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@ -354,7 +354,8 @@ do_convert_from_ssh2(struct passwd *pw)
exit(1);
}
key_free(k);
fprintf(stdout, "\n");
if (!private)
fprintf(stdout, "\n");
fclose(fp);
exit(0);
}