summaryrefslogtreecommitdiff
path: root/src/pkl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-20 20:26:41 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-24 02:03:05 +0000
commita266fc223ecb7a696fa9dc35422ef0264b1c3c40 (patch)
tree27273528c69e91c7461d9349f9f1467886ddf977 /src/pkl.cc
parent49f9ec23d00bec2f284118fed3d48d10a6cc8537 (diff)
Attempt to fix Sony digest validation by indenting the <Signer>
and <Signature> before signing. This is in the belief that, perhaps, the Sony software "reformats" the XML before checking that the signature is correct (or something).
Diffstat (limited to 'src/pkl.cc')
-rw-r--r--src/pkl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkl.cc b/src/pkl.cc
index 43c7d092..9910b190 100644
--- a/src/pkl.cc
+++ b/src/pkl.cc
@@ -113,7 +113,7 @@ PKL::write (boost::filesystem::path file, shared_ptr<const CertificateChain> sig
signer->sign (pkl, _standard);
}
- doc.write_to_file (file.string(), "UTF-8");
+ doc.write_to_file_formatted (file.string(), "UTF-8");
}
optional<string>