Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
045dc3ec
Commit
045dc3ec
authored
Jun 04, 2013
by
Leigh B Stoller
Browse files
Minor bug fix to delegated credentials (previous revision bug).
parent
57d1b59a
Changes
1
Show whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCredential.pm.in
View file @
045dc3ec
...
...
@@ -796,11 +796,11 @@ sub Sign($$)
" $cap_xml"
.
$
parent_xml
.
"</credential>
\n
"
;
if
(
defined
($
self
->{
'parent_cred'
}))
{
$
template
=
"<signed-credential>
\n
$template
\n
"
;
$
template
=
"<signed-credential>
\n
$template
\n
<signatures>
"
;
foreach
my
$
sig
(@{
$
self
->{
'parent_cred'
}->{
'signatures'
}})
{
$
template
.=
$
sig
->
toString
();
}
$
template
.=
"</signed-credential>
\n
"
;
$
template
.=
"</
signatures></
signed-credential>
\n
"
;
}
my
($
fh
,
$
filename
)
=
tempfile
(
UNLINK
=>
0
);
return
-
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment