diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-19 18:41:26 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-19 18:41:26 +0200 |
commit | ab8371327296d3435308b21b463fbdb4569d8763 (patch) | |
tree | df1856a6b3e2cbb110bf2f6869289c3930a8c412 /modules/io-tls/c++/tls.hpp | |
parent | 7ea851ddceafb03a6a789451063c0158f2df25a7 (diff) |
Preparing for tls server example
Diffstat (limited to 'modules/io-tls/c++/tls.hpp')
-rw-r--r-- | modules/io-tls/c++/tls.hpp | 4 |
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 |