summaryrefslogtreecommitdiff
path: root/src/certificate_chain.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-24 17:34:37 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-24 17:34:37 +0000
commit2d05cab0e47ef437c3e5fa0f574f1eb4b1cfd64a (patch)
treef5b0836171141088a0cb19a8e986a0005621a378 /src/certificate_chain.h
parent8cbeb8c52ba1a91ec9c6517c2557fabada9f10c2 (diff)
Slightly hacky but hopefully functional fix for KDMs after the changes
to signer. The KDM stuff uses add_signature_value() but not sign() since it has to allow pass-through of a KDM (so it handles <Signature> etc. itself). This means we have to make the indentation-adding optional. It might have been nicer to make indent() not add indentation if it's not already there.
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 8b54604d..63ef8901 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::Element* parent, std::string ns) const;
+ void add_signature_value (xmlpp::Element* parent, std::string ns, bool add_indentation) const;
boost::optional<std::string> key () const {
return _key;