mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Include key type in SSH2 key fingerprints, now we have more than one
[originally from svn r971]
This commit is contained in:
2
sshdss.c
2
sshdss.c
@ -161,7 +161,7 @@ static char *dss_fingerprint(void *key) {
|
||||
|
||||
MD5Final(digest, &md5c);
|
||||
|
||||
sprintf(buffer, "%d ", ssh1_bignum_bitcount(dss->p));
|
||||
sprintf(buffer, "ssh-dss %d ", ssh1_bignum_bitcount(dss->p));
|
||||
for (i = 0; i < 16; i++)
|
||||
sprintf(buffer+strlen(buffer), "%s%02x", i?":":"", digest[i]);
|
||||
ret = smalloc(strlen(buffer)+1);
|
||||
|
Reference in New Issue
Block a user