diff options
author | louiz’ <[email protected]> | 2017-04-27 14:13:38 +0200 |
---|---|---|
committer | louiz’ <[email protected]> | 2017-04-27 14:13:38 +0200 |
commit | 7c632a5cc409f840045db1ca1806904393fe7522 (patch) | |
tree | 862b5437e4b6a75699f8d004f585d4d57b884615 | |
parent | def448d0d621f15ab29e56e15a80f956324d2794 (diff) |
Make it easier to customize Text_Policy when inheriting from it
This way, the library user can improve the class by adding missing functions
or some other tweak they may find useful. Without any access to m_kv this is
impossible.
-rw-r--r-- | src/lib/tls/tls_policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h index 02dd8b9b2..6ddfff749 100644 --- a/src/lib/tls/tls_policy.h +++ b/src/lib/tls/tls_policy.h @@ -544,7 +544,7 @@ class BOTAN_DLL Text_Policy : public Policy explicit Text_Policy(std::istream& in) : m_kv(read_cfg(in)) {} - private: + protected: std::vector<std::string> get_list(const std::string& key, const std::vector<std::string>& def) const |