Fixed TLS build on Windows GCC/MVSC

Cleanup TLS compile
This commit is contained in:
BenDr0id 2018-03-01 17:44:15 +01:00
parent bc110ef162
commit 972f542901
13 changed files with 66 additions and 51 deletions

View file

@ -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;
}