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:28:40 +0000



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

>       debug_printf("*** OCSP cert status: %s\n", reason_string);
>  }
>  
> +static void print_openssl_time(const char *prefix, const 
> ASN1_GENERALIZEDTIME *t)
> +{
> +     int nread;
> +     char buf[1000];
> +     BIO *mem = BIO_new(BIO_s_mem());
> +
> +     ASN1_GENERALIZEDTIME_print(mem, t);
> +     nread = BIO_read(mem, buf, sizeof(buf)-1);

nread might be < 0, please check.

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




reply via email to

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