summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-23 07:54:04 +0000
committerDarren Tucker <dtucker@dtucker.net>2020-01-23 21:46:58 +1100
commit69ac4e33023b379e9a8e9b4b6aeeffa6d1fcf6fa (patch)
treee069a6c2649e179d0ed0bc0b82dc46edae806855 /ssh-keygen.c
parent945bf52c3c815d95b1e842ebf6c910c3524bd5bb (diff)
upstream: remove trailing period characters from pub/priv key
pathnames - they make them needlessly more difficult to cut and paste without error; ok markus@ & dtucker@ OpenBSD-Commit-ID: abdcfd1a5723fcac0711feee7665edc66ae2335a
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 eebd89a27..ce94a5ab0 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.386 2020/01/23 02:43:48 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.387 2020/01/23 07:54:04 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3642,7 +3642,7 @@ main(int argc, char **argv)
3642 sshkey_free(private); 3642 sshkey_free(private);
3643 3643
3644 if (!quiet) { 3644 if (!quiet) {
3645 printf("Your identification has been saved in %s.\n", 3645 printf("Your identification has been saved in %s\n",
3646 identity_file); 3646 identity_file);
3647 } 3647 }
3648 3648
@@ -3659,7 +3659,7 @@ main(int argc, char **argv)
3659 SSH_FP_RANDOMART); 3659 SSH_FP_RANDOMART);
3660 if (fp == NULL || ra == NULL) 3660 if (fp == NULL || ra == NULL)
3661 fatal("sshkey_fingerprint failed"); 3661 fatal("sshkey_fingerprint failed");
3662 printf("Your public key has been saved in %s.\n", 3662 printf("Your public key has been saved in %s\n",
3663 identity_file); 3663 identity_file);
3664 printf("The key fingerprint is:\n"); 3664 printf("The key fingerprint is:\n");
3665 printf("%s %s\n", fp, comment); 3665 printf("%s %s\n", fp, comment);