Compare commits
1 Commits
c9b01186ed
...
6542c2a4e1
Author | SHA1 | Date | |
---|---|---|---|
|
6542c2a4e1 |
@ -324,6 +324,22 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/* re-open to allow logfile rotate */
|
/* re-open to allow logfile rotate */
|
||||||
log_file_setup();
|
log_file_setup();
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBSSL
|
||||||
|
/* reload SSL context if server-side SSL is enabled and SSL files
|
||||||
|
* seem accessible */
|
||||||
|
if (conf_css) {
|
||||||
|
if (check_ssl_files(SOFT_FAIL)) {
|
||||||
|
if (set_ssl_context(SSLCTX_FORCE_UPDATE) == 1)
|
||||||
|
mylog(LOG_DEBUG, "SSL context has been updated");
|
||||||
|
else
|
||||||
|
mylog(LOG_DEBUG, "SSL context has not been updated");
|
||||||
|
} else {
|
||||||
|
mylog(LOG_ERROR, "Unable to update SSL context, "
|
||||||
|
"file checks failed");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user