projects
/
mirror
/
userdir-ldap-cgi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The divisor is 4, not 2
[mirror/userdir-ldap-cgi.git]
/
Util.pm
diff --git
a/Util.pm
b/Util.pm
index
98668c3
..
9acd5d1
100644
(file)
--- a/
Util.pm
+++ b/
Util.pm
@@
-171,7
+171,7
@@
sub FormatFingerPrint {
$out .= " " if ($_ == 7);
}
} else {
- foreach (0..int(length($in)/
2
)) {
+ foreach (0..int(length($in)/
4
)) {
$out .= substr($in, $_*4, 4)." ";
}
}