diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-06 13:12:45 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-06 13:12:45 +0100 |
commit | ccbfd4b39162a6a320ed400635ebae2992cecd61 (patch) | |
tree | 5b1151b83571f92bba47c75eaa87c4744b9cc734 /https.cpp | |
parent | e8a7c88b6cedbd05b183e85dff74c513bfcd774e (diff) |
Certificate test
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" |