summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-17 16:52:45 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-17 16:52:45 +0100
commit9026320cc48e9c200d33aae9e8f601f29542e186 (patch)
treeab1f49dd88bf2b1006ca42fd7f753f46aca03fa6 /src/util.h
parent3d77daab7639c06d1cdbeb852559fc4be5671819 (diff)
Get Signer to take a PEM string rather than a filename.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index d3f212c7..33fd79a3 100644
--- a/src/util.h
+++ b/src/util.h
@@ -88,6 +88,7 @@ extern void add_signer (xmlpp::Element* parent, CertificateChain const & certifi
extern int base64_decode (std::string const & in, unsigned char* out, int out_length);
extern boost::optional<boost::filesystem::path> relative_to_root (boost::filesystem::path root, boost::filesystem::path file);
extern FILE * fopen_boost (boost::filesystem::path, std::string);
+extern std::string file_to_string (boost::filesystem::path);
template <class F, class T>
std::list<boost::shared_ptr<T> >