Commit 8004312d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent cb846cea
......@@ -371,7 +371,7 @@ sub Create($$$$;$$)
return undef
if (!defined($hash));
$hash = substr($hash, 0, 7);
if (!$hash || GeniUser->ValidUserID("u${hash}")) {
if (!$hash || !GeniUser->ValidUserID("u${hash}")) {
print STDERR "Cannot form a uid from certificate\n".
$certificate->cert() . "\n";
return undef;
......
Supports Markdown
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