Commit 0f5b8b3a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Why is the tmpfile creation failing!

parent dc292211
......@@ -264,8 +264,10 @@ $signatures_node->addChild($sigroot);
# reference point. Must write this to a tmp file for xmlsec, and then
# use xmlsec to add the signature.
#
# Paranoia.
unlink($tmpfile);
open(TMP, ">$tmpfile") or
fatal("Could not open $tmpfile");
fatal("Could not open $tmpfile: $!");
print TMP $doc->toString(1) . "\n";
close(TMP);
......
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