diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index eca758c6e..f7e284062 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.170 2008/06/12 21:14:46 grunk Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.171 2008/07/13 21:22:52 sthen 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 |
@@ -620,8 +620,10 @@ print_host(FILE *f, const char *name, Key *public, int hash) | |||
620 | rep = print_bubblebabble ? SSH_FP_BUBBLEBABBLE : SSH_FP_HEX; | 620 | rep = print_bubblebabble ? SSH_FP_BUBBLEBABBLE : SSH_FP_HEX; |
621 | fp = key_fingerprint(public, fptype, rep); | 621 | fp = key_fingerprint(public, fptype, rep); |
622 | ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART); | 622 | ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART); |
623 | printf("%u %s %s (%s)\n%s\n", key_size(public), fp, name, | 623 | printf("%u %s %s (%s)\n", key_size(public), fp, name, |
624 | key_type(public), ra); | 624 | key_type(public)); |
625 | if (log_level >= SYSLOG_LEVEL_VERBOSE) | ||
626 | printf("%s\n", ra); | ||
625 | xfree(ra); | 627 | xfree(ra); |
626 | xfree(fp); | 628 | xfree(fp); |
627 | } else { | 629 | } else { |