diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-20 20:26:41 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-21 23:48:52 +0000 |
| commit | 33c2c1ddee9638fc4e59dbfdbeee2fb540778819 (patch) | |
| tree | 5397dbb3fb1204fbe5529a3d1e738f4f5b2c1fb6 /src/pkl.cc | |
| parent | 46766164d06e0aa58ea5064bec9b313ff5cd2399 (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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |
