mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-29 00:01:43 +08:00
- grunk@cvs.openbsd.org 2008/06/12 06:32:59
[key.c] We already mark the start of the worm, now also mark the end of the worm in our random art drawings. ok djm@
This commit is contained in:
parent
987ac84a17
commit
4b3b9773ec
13
ChangeLog
13
ChangeLog
@ -97,6 +97,17 @@
|
||||
- djm@cvs.openbsd.org 2008/06/12 05:32:30
|
||||
[mux.c]
|
||||
some more TODO for me
|
||||
- grunk@cvs.openbsd.org 2008/06/12 05:42:46
|
||||
[key.c]
|
||||
supply the key type (rsa1, rsa, dsa) as a caption in the frame of the
|
||||
random art. while there, stress the fact that the field base should at
|
||||
least be 8 characters for the pictures to make sense.
|
||||
comment and ok djm@
|
||||
- grunk@cvs.openbsd.org 2008/06/12 06:32:59
|
||||
[key.c]
|
||||
We already mark the start of the worm, now also mark the end of the worm
|
||||
in our random art drawings.
|
||||
ok djm@
|
||||
|
||||
20080611
|
||||
- (djm) [channels.c configure.ac]
|
||||
@ -4259,4 +4270,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.4982 2008/06/12 18:54:05 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.4983 2008/06/12 18:55:10 dtucker Exp $
|
||||
|
9
key.c
9
key.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: key.c,v 1.74 2008/06/12 05:42:46 grunk Exp $ */
|
||||
/* $OpenBSD: key.c,v 1.75 2008/06/12 06:32:59 grunk Exp $ */
|
||||
/*
|
||||
* read_bignum():
|
||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
@ -336,7 +336,7 @@ key_fingerprint_randomart(u_char *dgst_raw, u_int dgst_raw_len, const Key *k)
|
||||
* Chars to be used after each other every time the worm
|
||||
* intersects with itself. Matter of taste.
|
||||
*/
|
||||
char *augmentation_string = " .o+=*BOX@%&#/^S";
|
||||
char *augmentation_string = " .o+=*BOX@%&#/^SE";
|
||||
char *retval, *p;
|
||||
u_char field[FLDSIZE_X][FLDSIZE_Y];
|
||||
u_int i, b;
|
||||
@ -371,7 +371,10 @@ key_fingerprint_randomart(u_char *dgst_raw, u_int dgst_raw_len, const Key *k)
|
||||
input = input >> 2;
|
||||
}
|
||||
}
|
||||
field[FLDSIZE_X / 2][FLDSIZE_Y / 2] = len;
|
||||
|
||||
/* mark starting point and end point*/
|
||||
field[FLDSIZE_X / 2][FLDSIZE_Y / 2] = len - 1;
|
||||
field[x][y] = len;
|
||||
|
||||
/* fill in retval */
|
||||
snprintf(retval, 10, "+--[%4s]", key_type(k));
|
||||
|
Loading…
Reference in New Issue
Block a user