Skip to content
Snippets Groups Projects
Commit e3365aa3 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

No point checking prepped here

parent c9a18cc4
No related branches found
No related tags found
No related merge requests found
Pipeline #5042 passed
......@@ -370,7 +370,7 @@ CRYPT_CONTEXT get_ssl_cert(scfg_t *cfg, char **estr, int *level)
lock_ssl_cert_write();
SAFEPRINTF2(str,"%s%s",cfg->ctrl_dir,"ssl.cert");
time32_t fd = (time32_t)fdate(str);
if (cfg->tls_certificate != -1 || !cfg->prepped) {
if (cfg->tls_certificate != -1) {
if (fd == cfg->tls_cert_file_date) {
ssl_context = cfg->tls_certificate;
unlock_ssl_cert_write();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment