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/certificate_chain.h | |
| 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/certificate_chain.h')
| -rw-r--r-- | src/certificate_chain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certificate_chain.h b/src/certificate_chain.h index 365632fe..8b54604d 100644 --- a/src/certificate_chain.h +++ b/src/certificate_chain.h @@ -103,7 +103,7 @@ public: bool private_key_valid () const; void sign (xmlpp::Element* parent, Standard standard) const; - void add_signature_value (xmlpp::Node* parent, std::string ns) const; + void add_signature_value (xmlpp::Element* parent, std::string ns) const; boost::optional<std::string> key () const { return _key; |
