aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2015-08-14 17:24:17 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2015-08-14 17:34:29 +0530
commit24171564e63d4072b2eeeb3e4dad7d2b231b31ec (patch)
tree1e6875f18d63ae71d527460d93e83854d3ed82a2
parentcontrib: redmine user alias (diff)
downloadgitolite-gentoo-24171564e63d4072b2eeeb3e4dad7d2b231b31ec.tar.gz
gitolite-gentoo-24171564e63d4072b2eeeb3e4dad7d2b231b31ec.tar.bz2
gitolite-gentoo-24171564e63d4072b2eeeb3e4dad7d2b231b31ec.zip
minor typo in pattern...
note that this does not affect anything, since the 6 extra characters that would be matched are not part of the base64 character set anyway, so they should not be *produced* by your ssh-keygen. thanks to 'ayekat' on irc pointing me to a comment on the commit on github. (Please don't put stuff on github and expect me to find it; I prefer plain old email because -- among other things -- I don't want to insist that you have a github account in order to discuss gitolite).
-rwxr-xr-xsrc/commands/sshkeys-lint2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/sshkeys-lint b/src/commands/sshkeys-lint
index 374bdb8..c7f0c81 100755
--- a/src/commands/sshkeys-lint
+++ b/src/commands/sshkeys-lint
@@ -163,7 +163,7 @@ sub fprint {
# dbg("fp = $fp");
close $fh;
unlink $tempfn if $tempfn;
- warn "$fp\n" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/ or $fp =~ m(SHA256:([A-ZA-z0-9+/]+));
+ warn "$fp\n" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/ or $fp =~ m(SHA256:([A-Za-z0-9+/]+));
return $1;
}