diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index c22e814da..5d90e7a24 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.167 2008/06/11 21:01:35 grunk Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.168 2008/06/11 21:38:25 grunk 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 |
@@ -522,9 +522,9 @@ do_fingerprint(struct passwd *pw) | |||
522 | public = key_load_public(identity_file, &comment); | 522 | public = key_load_public(identity_file, &comment); |
523 | if (public != NULL) { | 523 | if (public != NULL) { |
524 | fp = key_fingerprint(public, fptype, rep); | 524 | fp = key_fingerprint(public, fptype, rep); |
525 | ra = key_fingerprint(public, fptype, rep); | 525 | ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART); |
526 | printf("%u %s %s\n", key_size(public), fp, comment); | 526 | printf("%u %s %s\n", key_size(public), fp, comment); |
527 | verbose("%s\n", ra); | 527 | verbose("%s", ra); |
528 | key_free(public); | 528 | key_free(public); |
529 | xfree(comment); | 529 | xfree(comment); |
530 | xfree(ra); | 530 | xfree(ra); |