summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-18 11:45:19 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-18 11:45:19 +0100
commit9984f8318ba9999e39cf2f6688bd41408982cca9 (patch)
treea74ace56260cbea8f326bc0cf9f5ca99e74353f0 /src/util.h
parent56e7a6f1768036df852a45d939b9adc038b17057 (diff)
Various small tweaks and fixes.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 33fd79a3..d3843e3d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -88,7 +88,8 @@ 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);
+extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length = 4096);
+extern std::string private_key_fingerprint (std::string key);
template <class F, class T>
std::list<boost::shared_ptr<T> >