From ab8371327296d3435308b21b463fbdb4569d8763 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Sat, 19 Oct 2024 18:41:26 +0200 Subject: Preparing for tls server example --- modules/io-tls/c++/tls.hpp | 4 +++- 1 file changed, 3 insertions(+), 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 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>>> listen(network_address> &bind_addr, const std::string& key_file) = 0; + virtual error_or>>> listen(network_address> &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 -- cgit v1.2.3