Attempt to fix Sony digest validation by indenting the <Signer>
[libdcp.git] / src / pkl.cc
index 43c7d0922376f270cf08eba60e585f0e4cd4932a..9910b1906f8241a4232ca1b26e40f46a2d6362ba 100644 (file)
@@ -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>