14 lines
522 B
Diff
14 lines
522 B
Diff
=== modified file 'libseahorse/seahorse-ssh-key-data.c'
|
|
--- libseahorse/seahorse-ssh-key-data.c 2008-01-09 22:52:51 +0000
|
|
+++ libseahorse/seahorse-ssh-key-data.c 2008-01-09 23:34:20 +0000
|
|
@@ -90,7 +90,7 @@
|
|
for (i = 0; i < MD5_LEN; i++) {
|
|
char hex[4];
|
|
snprintf (hex, sizeof (hex), "%02x:", (int)(digest[i]));
|
|
- strncat (fingerprint, hex, MD5_LEN * 3 + 1);
|
|
+ strncat (fingerprint, hex, strlen(fingerprint) - (MD5_LEN * 3 + 1) - 1);
|
|
}
|
|
|
|
/* Remove the trailing ':' character */
|
|
|