From 2d05cab0e47ef437c3e5fa0f574f1eb4b1cfd64a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 24 Jan 2019 17:34:37 +0000 Subject: 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 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. --- src/certificate_chain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/certificate_chain.h') 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 key () const { return _key; -- cgit v1.2.3