]> andersk Git - openssh.git/blobdiff - ssh-keygen.c
- grunk@cvs.openbsd.org 2008/06/11 21:38:25
[openssh.git] / ssh-keygen.c
index c22e814dacd87c91787cff46a4445199a7646097..5d90e7a24c5c615f4eae87758b81cc1ea21839ae 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.167 2008/06/11 21:01:35 grunk Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.168 2008/06/11 21:38:25 grunk Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -522,9 +522,9 @@ do_fingerprint(struct passwd *pw)
        public = key_load_public(identity_file, &comment);
        if (public != NULL) {
                fp = key_fingerprint(public, fptype, rep);
-               ra = key_fingerprint(public, fptype, rep);
+               ra = key_fingerprint(public, fptype, SSH_FP_RANDOMART);
                printf("%u %s %s\n", key_size(public), fp, comment);
-               verbose("%s\n", ra);
+               verbose("%s", ra);
                key_free(public);
                xfree(comment);
                xfree(ra);
This page took 0.03704 seconds and 4 git commands to generate.