Commit d4d5f181 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to CreateFromRegistry(); I added plc support, but for some

reason I totally forgot to make it conditional. Sheesh.
parent 2384f17c
......@@ -328,7 +328,9 @@ sub CreateFromRegistry($$)
if ($registry->Resolve($token, "Component", \$blob) != 0);
# Why does PLC Resolve return an array of length one?
$blob = $blob->[0];
if (ref($blob) eq "ARRAY") {
$blob = $blob->[0];
my $certificate = GeniCertificate->LoadFromString($blob->{'gid'});
return undef
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