diff options
author | Jack Lloyd <[email protected]> | 2017-10-02 22:07:57 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-02 22:45:20 -0400 |
commit | 34868d4c4b91227db472aa294dfeb6d9075ec056 (patch) | |
tree | 6e43fb977b89de43de246c52d18eeb1442081018 /src/lib/tls/tls_policy.h | |
parent | 40ec27f8a12e18e7eb17df4ff5874f3bb66987c5 (diff) |
Make kv in TLS_Text_Policy private, add protected setter
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r-- | src/lib/tls/tls_policy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h index 463f1c6d6..333cf0ee1 100644 --- a/src/lib/tls/tls_policy.h +++ b/src/lib/tls/tls_policy.h @@ -519,6 +519,9 @@ class BOTAN_PUBLIC_API(2,0) Text_Policy : public Policy std::string get_str(const std::string& key, const std::string& def = "") const; + bool set_value(const std::string& key, const std::string& val, bool overwrite); + + private: std::map<std::string, std::string> m_kv; }; |