We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8a0ec1 commit 1f47520Copy full SHA for 1f47520
1 file changed
source/daemons/execd/dispatcher.cc
@@ -90,7 +90,9 @@ int sge_execd_process_messages() {
90
#if defined(OCS_WITH_OPENSSL)
91
bool tls_security = ocs::Bootstrap::has_security_mode(ocs::Bootstrap::BS_SEC_MODE_TLS);
92
int certificate_lifetime = ocs::Bootstrap::get_cert_lifetime();
93
- INFO(MSG_TLS_CERT_LIFETIME_D, certificate_lifetime);
+ if (tls_security) {
94
+ INFO(MSG_TLS_CERT_LIFETIME_D, certificate_lifetime);
95
+ }
96
uint64_t certificate_check_interval = sge_gmt32_to_gmt64(certificate_lifetime / 20);
97
uint64_t next_certificate_check = 0;
98
#endif
0 commit comments