wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Draft: OpenSSL: OCSP: Be more realistic with update times (!


From: @rockdaboot
Subject: Re: wget2 | Draft: OpenSSL: OCSP: Be more realistic with update times (!502)
Date: Sat, 01 Jan 2022 22:27:13 +0000



Tim Rühsen started a new discussion on libwget/ssl_openssl.c: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/502#note_799231618

> +     BIO_free_all(mem);
> +}
> +
> +static int check_ocsp_response_times(const ASN1_GENERALIZEDTIME *thisupd,
> +                                  const ASN1_GENERALIZEDTIME *nextupd)
> +{
> +     int day, sec, retval = -1;
> +     ASN1_TIME *now;
> +
> +     now = ASN1_TIME_adj(NULL, time(NULL), 0, 0);
> +     if (!now) {
> +             error_printf(_("Could not get current time!\n"));
> +             return -1;
> +     }
> +
> +     print_openssl_time(_("*** OCSP issued time: "), thisupd);

In general, we don't use gettext for debug output.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/502#note_799231618
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]