Commit b317f9ac authored by Leigh Stoller's avatar Leigh Stoller

Minor change to regex.

parent 75599b00
......@@ -266,7 +266,7 @@ sub ParseKey($) {
return 0;
}
if ($keyline =~ /^(\d*\s\d*\s[0-9a-zA-Z]*) ([-\w\@\.\ ]*)$/) {
if ($keyline =~ /^(\d*\s\d*\s[0-9a-zA-Z]*) ([-\w\@\.\ ]*)\s*$/) {
# Protocol 1
$type = "ssh-rsa1";
$key = $1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment