=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/key.c,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- src/usr.bin/ssh/Attic/key.c 2008/06/12 05:42:46 1.74 +++ src/usr.bin/ssh/Attic/key.c 2008/06/12 06:32:59 1.75 @@ -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 , Espoo, Finland @@ -332,7 +332,7 @@ * 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; @@ -367,7 +367,10 @@ 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));