summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fc26ef0)
SHA-1 fingerprints have a double space in the middle and we were
putting the extra space in the wrong place.
(i % 2 == 0)) {
printf(" ");
}
(i % 2 == 0)) {
printf(" ");
}
- printf("%02X", fp[i]);
- if ((i * 2) == length) {
+ if (length == 20 && (i * 2) == length) {
+ /* Extra space in the middle of a SHA1 fingerprint */