From 7ea851ddceafb03a6a789451063c0158f2df25a7 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Fri, 18 Oct 2024 20:51:30 +0200 Subject: Forgot I need to provide const char* and not strings --- modules/io-tls/c++/tls.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/io-tls/c++/tls.hpp') 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>>> listen(network_address> &bind_addr) = 0; + virtual error_or>>> listen(network_address> &bind_addr, const std::string& key_file) = 0; /** * Connect to a remote address -- cgit v1.2.3