]> andersk Git - openssh.git/commitdiff
- grunk@cvs.openbsd.org 2008/06/11 21:38:25
authordtucker <dtucker>
Thu, 12 Jun 2008 18:42:14 +0000 (18:42 +0000)
committerdtucker <dtucker>
Thu, 12 Jun 2008 18:42:14 +0000 (18:42 +0000)
     [ssh-keygen.c]
     ssh-keygen -lv -f /etc/ssh/ssh_host_rsa_key.pub
     would not display you the random art as intended, spotted by canacar@

ChangeLog
ssh-keygen.c

index 51748937a3593c2341414c96ac71b360905f3c06..bce8ec35483cf419fb0b7163f0105d4ea0c2a91e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      walked in either direction.
      discussions with several people,
      help, corrections and ok markus@ djm@
+   - grunk@cvs.openbsd.org 2008/06/11 21:38:25
+     [ssh-keygen.c]
+     ssh-keygen -lv -f /etc/ssh/ssh_host_rsa_key.pub
+     would not display you the random art as intended, spotted by canacar@
 
 20080611
  - (djm) [channels.c configure.ac]
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.547929 seconds and 5 git commands to generate.