diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-08 00:59:46 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-08 00:59:46 +0100 |
| commit | 034d4ee15840550dac4a57b41f5b60732ca1df6b (patch) | |
| tree | 37d20da6b96eb97f14253068d0a9b1ff6132cf19 | |
| parent | e0b127312797cd4619886dc6df57411a77fe2d33 (diff) | |
| download | monitoring-plugins-034d4ee15840550dac4a57b41f5b60732ca1df6b.tar.gz | |
Fix initialisation on old compilers
| -rw-r--r-- | plugins/sslutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index c1d15534..c58a35ab 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
| @@ -316,7 +316,7 @@ retrieve_expiration_time_result np_net_ssl_get_cert_expiration(X509 *certificate | |||
| 316 | # ifdef USE_OPENSSL | 316 | # ifdef USE_OPENSSL |
| 317 | retrieve_expiration_time_result result = { | 317 | retrieve_expiration_time_result result = { |
| 318 | .errors = ALL_OK, | 318 | .errors = ALL_OK, |
| 319 | .remaining_seconds = {}, | 319 | .remaining_seconds = 0, |
| 320 | }; | 320 | }; |
| 321 | 321 | ||
| 322 | if (!certificate) { | 322 | if (!certificate) { |
