diff options
Diffstat (limited to 'https.cpp')
-rw-r--r-- | https.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -495,8 +495,8 @@ void load_server_certificate(boost::asio::ssl::context& ctx, const fs::path& cer boost::asio::ssl::context::single_dh_use); std::string cert; - if (cert_path == "") { - // generate dummy self signed certificate. Will be replaced by real + if (cert_path.empty()) { + // use dummy self signed certificate. Will be replaced by real // certificate if configured upon respective session cert = "-----BEGIN CERTIFICATE-----\n" |