Fix initialisation on old compilers

This commit is contained in:
Lorenz Kästle 2025-11-08 00:59:46 +01:00
parent e0b1273127
commit 034d4ee158

View file

@ -316,7 +316,7 @@ retrieve_expiration_time_result np_net_ssl_get_cert_expiration(X509 *certificate
# ifdef USE_OPENSSL
retrieve_expiration_time_result result = {
.errors = ALL_OK,
.remaining_seconds = {},
.remaining_seconds = 0,
};
if (!certificate) {