summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-14 11:00:52 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-14 11:00:52 +0100
commitbdf29b6d0a2cdb392a9d4fd1c214ff108ec84c90 (patch)
tree0b33525bedfe4b393b8d6f3973315e884aa7bb64 /src/lib/config.h
parent8b1736a39f256b37f75bdb99e69298992d3e1083 (diff)
parent723779c27ffdafe27b3f23840eea4777ae838a83 (diff)
Add a hint about certificate validity, moving some things around
so that it's easier for the user to re-make the certificates if they need to.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index be4e6ecf1..e01eab780 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -1084,6 +1084,8 @@ public:
void rename_template (std::string old_name, std::string new_name) const;
void delete_template (std::string name) const;
+ boost::optional<BadReason> check_certificates () const;
+
static Config* instance ();
static void drop ();
static void restore_defaults ();