diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index da5db9845..4f90ac5c1 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.174 2009/06/22 05:39:28 dtucker Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.175 2009/08/27 17:33:49 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 |
@@ -524,7 +524,7 @@ do_fingerprint(struct passwd *pw) | |||
524 | public = key_load_public(identity_file, &comment); | 524 | public = key_load_public(identity_file, &comment); |
525 | if (public != NULL) { | 525 | if (public != NULL) { |
526 | fp = key_fingerprint(public, fptype, rep); | 526 | fp = key_fingerprint(public, fptype, rep); |
527 | ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART); | 527 | ra = key_fingerprint(public, SSH_FP_MD5, SSH_FP_RANDOMART); |
528 | printf("%u %s %s (%s)\n", key_size(public), fp, comment, | 528 | printf("%u %s %s (%s)\n", key_size(public), fp, comment, |
529 | key_type(public)); | 529 | key_type(public)); |
530 | if (log_level >= SYSLOG_LEVEL_VERBOSE) | 530 | if (log_level >= SYSLOG_LEVEL_VERBOSE) |
@@ -589,7 +589,7 @@ do_fingerprint(struct passwd *pw) | |||
589 | } | 589 | } |
590 | comment = *cp ? cp : comment; | 590 | comment = *cp ? cp : comment; |
591 | fp = key_fingerprint(public, fptype, rep); | 591 | fp = key_fingerprint(public, fptype, rep); |
592 | ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART); | 592 | ra = key_fingerprint(public, SSH_FP_MD5, SSH_FP_RANDOMART); |
593 | printf("%u %s %s (%s)\n", key_size(public), fp, | 593 | printf("%u %s %s (%s)\n", key_size(public), fp, |
594 | comment ? comment : "no comment", key_type(public)); | 594 | comment ? comment : "no comment", key_type(public)); |
595 | if (log_level >= SYSLOG_LEVEL_VERBOSE) | 595 | if (log_level >= SYSLOG_LEVEL_VERBOSE) |
@@ -619,7 +619,7 @@ print_host(FILE *f, const char *name, Key *public, int hash) | |||
619 | fptype = print_bubblebabble ? SSH_FP_SHA1 : SSH_FP_MD5; | 619 | fptype = print_bubblebabble ? SSH_FP_SHA1 : SSH_FP_MD5; |
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, SSH_FP_MD5, SSH_FP_RANDOMART); |
623 | printf("%u %s %s (%s)\n", key_size(public), fp, name, | 623 | printf("%u %s %s (%s)\n", key_size(public), fp, name, |
624 | key_type(public)); | 624 | key_type(public)); |
625 | if (log_level >= SYSLOG_LEVEL_VERBOSE) | 625 | if (log_level >= SYSLOG_LEVEL_VERBOSE) |