summaryrefslogtreecommitdiff
path: root/modules/io-tls/c++/tls.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-18 20:51:30 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-18 20:51:30 +0200
commit7ea851ddceafb03a6a789451063c0158f2df25a7 (patch)
treeba7a29d5399deb248c194eba3d64669d151d58f6 /modules/io-tls/c++/tls.hpp
parent0a374c58a6859c962ca8d779490c379a643180a9 (diff)
Forgot I need to provide const char* and not strings
Diffstat (limited to 'modules/io-tls/c++/tls.hpp')
-rw-r--r--modules/io-tls/c++/tls.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/io-tls/c++/tls.hpp b/modules/io-tls/c++/tls.hpp
index 5082ee9..df21c81 100644
--- a/modules/io-tls/c++/tls.hpp
+++ b/modules/io-tls/c++/tls.hpp
@@ -77,7 +77,7 @@ public:
/**
* Set up a listener on this address
*/
- virtual error_or<own<server<net::Tls<T>>>> listen(network_address<net::Tls<T>> &bind_addr) = 0;
+ virtual error_or<own<server<net::Tls<T>>>> listen(network_address<net::Tls<T>> &bind_addr, const std::string& key_file) = 0;
/**
* Connect to a remote address