From 0ff6671cec0bc8db106f094400425ada5d4faf7a Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 6 Apr 2020 19:19:23 +0200 Subject: Don't use privileged ports as user --- https.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'https.cpp') diff --git a/https.cpp b/https.cpp index 9be69a8..161efad 100644 --- a/https.cpp +++ b/https.cpp @@ -604,7 +604,7 @@ Server::Server(Config& config, boost::asio::io_context& ioc, const Socket& socke if (site.name == serve_site) { std::shared_ptr ctx {std::make_shared(tls_method)}; - std::cout << "Creating SSL context/cert for site " << serve_site << std::endl; + std::cout << "Creating SSL context/cert for site " << serve_site << " on port " << socket.port << std::endl; load_server_certificate(*ctx, site.cert_path, site.key_path); SSL_CTX_set_tlsext_servername_callback(ctx->native_handle(), servername_callback); -- cgit v1.2.3