summaryrefslogtreecommitdiff
path: root/modules/io-tls/c++/tls.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io-tls/c++/tls.hpp')
-rw-r--r--modules/io-tls/c++/tls.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/io-tls/c++/tls.hpp b/modules/io-tls/c++/tls.hpp
index df21c81..4126a9f 100644
--- a/modules/io-tls/c++/tls.hpp
+++ b/modules/io-tls/c++/tls.hpp
@@ -77,7 +77,9 @@ public:
/**
* Set up a listener on this address
*/
- virtual error_or<own<server<net::Tls<T>>>> listen(network_address<net::Tls<T>> &bind_addr, const std::string& key_file) = 0;
+ virtual error_or<own<server<net::Tls<T>>>> listen(network_address<net::Tls<T>> &bind_addr,
+ const std::string& key_file, const std::string& cert_file, const std::string& crl_file, const std::string& ca_file
+ ) = 0;
/**
* Connect to a remote address