Fixed TLS build on Windows GCC/MVSC
Cleanup TLS compile
This commit is contained in:
parent
bc110ef162
commit
972f542901
13 changed files with 66 additions and 51 deletions
|
@ -51,7 +51,7 @@ bool Httpd::start()
|
|||
m_keyPem = readFile(m_options->ccKeyFile());
|
||||
m_certPem = readFile(m_options->ccCertFile());
|
||||
|
||||
if (m_keyPem.length() == 0 || m_certPem.length() == 0) {
|
||||
if (m_keyPem.empty() || m_certPem.empty()) {
|
||||
LOG_ERR("HTTPS Daemon failed to start. Unable to load Key/Cert.");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue