[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@
This commit is contained in:
Darren Tucker 2008-06-13 04:42:14 +10:00
parent 9c16ac9263
commit a376a32e8e
2 changed files with 8 additions and 4 deletions

View File

@ -24,6 +24,10 @@
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]
@ -4186,4 +4190,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4969 2008/06/12 18:40:35 dtucker Exp $
$Id: ChangeLog,v 1.4970 2008/06/12 18:42:14 dtucker Exp $

View 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);