summaryrefslogtreecommitdiff
path: root/src/certificate_chain.h
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/certificate_chain.h
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/certificate_chain.h')
-rw-r--r--src/certificate_chain.h2
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;