Commit d5f3758f authored by Gary Wong's avatar Gary Wong
Browse files

Correct the credential privilege XPath (don't include the root node).

This is a bug fix for yesterday's buggy bug fix.
parent 58844add
......@@ -519,7 +519,7 @@ sub CreateFromSigned($$;$)
bless($self, $class);
# Dig out the capabilities
foreach my $cap (GeniXML::FindNodes('n:signed-credential/n:credential/' .
foreach my $cap (GeniXML::FindNodes('n:credential/' .
'n:privileges/n:privilege',
$root)->get_nodelist()) {
my $name = GeniXML::FindElement('n:name', $cap);
......
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